Skip to content

Commit dcc2893

Browse files
committed
liquidity: bump miner multiplier in autoloop-in test
After the FeePPM miner fee fix there has probably been a race condition in this test. The test would expect only one of the two quotes to work, as one had a marginally high miner fee. After the FeePPM fix that miner fee was considered valid and we dispatched two swaps instead of one, with the test setup examining the first one that reached the go channel.
1 parent f4419aa commit dcc2893

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

liquidity/autoloop_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ func TestAutoLoopInEnabled(t *testing.T) {
748748

749749
quote2Unaffordable = &loop.LoopInQuote{
750750
SwapFee: peer2MaxFee * 2,
751-
MinerFee: peer2MaxFee * 2,
751+
MinerFee: peer2MaxFee * 1000,
752752
}
753753

754754
quoteRequest1 = &loop.LoopInQuoteRequest{

0 commit comments

Comments
 (0)