mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 18:10:34 +01: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
@ -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…
Reference in New Issue
Block a user