sweep: make sure defaultDeadline is derived from the mature height

This commit is contained in:
yyforyongyu
2024-05-01 02:58:27 +08:00
committed by yyforyongyu
parent afc08c6623
commit 7545bbfa92
2 changed files with 45 additions and 11 deletions

View File

@@ -739,7 +739,7 @@ func TestHandleBumpEventTxFailed(t *testing.T) {
// Call the method under test.
err := s.handleBumpEvent(resp)
require.ErrorIs(t, err, errDummy)
require.NoError(t, err)
// Assert the states of the first two inputs are updated.
require.Equal(t, PublishFailed, s.inputs[op1].state)