htlcswitch: ensure payments in TestChannelLinkBidirectionalOneHopPayments aren't dust
This commit modifies the TestChannelLinkBidirectionalOneHopPayments test to ensure that each payment sent is safely above the dust threshold. Note that the dust threshold itself is now higher due to the existence of the HTLC covenant transactions which the HTLC values themselves must cover. This change ensure that this test operates under “normal” operation conditions in order to catch any bugs introduced during a major change.
This commit is contained in:
parent
f8e536dff5
commit
1d771eeb1b
@ -166,7 +166,7 @@ func TestChannelLinkBidirectionalOneHopPayments(t *testing.T) {
|
||||
n.firstBobChannelLink.ChanID()))
|
||||
}
|
||||
|
||||
const amt btcutil.Amount = 10
|
||||
const amt btcutil.Amount = 20000
|
||||
|
||||
htlcAmt, totalTimelock, hopsForwards := generateHops(amt,
|
||||
n.firstBobChannelLink)
|
||||
|
Loading…
Reference in New Issue
Block a user