test: decrease amount sent in multi-hop error integration test
In this commit, we increase the initial amount sent in the multi-hop error integration test. We must do this now as the Bandwidth() function now takes into account the total fee paid within the commitment transaction. This caused an earlier send to fail instead of the once following send. To fix this, we simply send less in the initial test case.
This commit is contained in:
parent
4c70135bb8
commit
5a8ebb09f7
@ -3019,7 +3019,7 @@ out:
|
|||||||
// Alice's side, leaving on 10k satoshis of available balance for bob.
|
// Alice's side, leaving on 10k satoshis of available balance for bob.
|
||||||
// There's a max payment amount, so we'll have to do this
|
// There's a max payment amount, so we'll have to do this
|
||||||
// incrementally.
|
// incrementally.
|
||||||
amtToSend := int64(chanAmt) - 10000
|
amtToSend := int64(chanAmt) - 20000
|
||||||
amtSent := int64(0)
|
amtSent := int64(0)
|
||||||
for amtSent != amtToSend {
|
for amtSent != amtToSend {
|
||||||
// We'll send in chunks of the max payment amount. If we're
|
// We'll send in chunks of the max payment amount. If we're
|
||||||
|
Loading…
Reference in New Issue
Block a user