sweep: make sure defaultDeadline is derived from the mature height

This commit is contained in:
yyforyongyu authored and yyforyongyu committed 2024-12-20 17:54:00 +08:00
1 parent afc08c6623
commit 7545bbfa92
2 files changed
+45 -11

No files matched your search

+1 -1
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)