sweep+itest: return next retry fee rate in TxFailed event
We now return the next retry fee rate in `TxFailed` event in `TxPublisher`. When handling the event, `UtxoSweeper` will update the inputs to make sure the starting fee rate is set before attempting the next sweep.
This commit is contained in:
4 files changed
+82
-38
No files matched your search
@@ -1134,6 +1134,7 @@ func TestCreateAnPublishFail(t *testing.T) {
|
||||
// Create a test feerate and return it from the mock fee function.
|
||||
feerate := chainfee.SatPerKWeight(1000)
|
||||
m.feeFunc.On("FeeRate").Return(feerate)
|
||||
m.feeFunc.On("Increment").Return(true, nil).Once()
|
||||
|
||||
// Create a testing monitor record.
|
||||
req := createTestBumpRequest()
|
||||
|
||||
Reference in new issue
Block a user