mirror of
https://github.com/lightningnetwork/lnd.git
synced 2026-08-18 13:07:58 +02:00
lntest/itest: swap want/got channel constraints
Otherwise the fatal error message incorrectly describes what happpened.
This commit is contained in:
parent
6c14c73b6b
commit
8a22e4fd1c
1 changed files with 2 additions and 2 deletions
|
|
@ -4930,7 +4930,7 @@ func testListChannels(net *lntest.NetworkHarness, t *harnessTest) {
|
|||
MaxAcceptedHtlcs: input.MaxHTLCNumber / 2,
|
||||
}
|
||||
assertChannelConstraintsEqual(
|
||||
t, aliceChannel.LocalConstraints, defaultConstraints,
|
||||
t, defaultConstraints, aliceChannel.LocalConstraints,
|
||||
)
|
||||
|
||||
// customizedConstraints is a ChannelConstraints with customized values.
|
||||
|
|
@ -4946,7 +4946,7 @@ func testListChannels(net *lntest.NetworkHarness, t *harnessTest) {
|
|||
MaxAcceptedHtlcs: input.MaxHTLCNumber / 2,
|
||||
}
|
||||
assertChannelConstraintsEqual(
|
||||
t, aliceChannel.RemoteConstraints, customizedConstraints,
|
||||
t, customizedConstraints, aliceChannel.RemoteConstraints,
|
||||
)
|
||||
|
||||
// Get the ListChannel response for Bob.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue