lntest/itest: swap want/got channel constraints

Otherwise the fatal error message incorrectly describes what happpened.
This commit is contained in:
Conner Fromknecht committed 2020-08-24 20:08:19 -07:00
1 parent 6c14c73b6b
commit 8a22e4fd1c
1 file changed
+2 -2
+2 -2
View File
@@ -4930,7 +4930,7 @@ func testListChannels(net *lntest.NetworkHarness, t *harnessTest) {
MaxAcceptedHtlcs: input.MaxHTLCNumber / 2, MaxAcceptedHtlcs: input.MaxHTLCNumber / 2,
} }
assertChannelConstraintsEqual( assertChannelConstraintsEqual(
t, aliceChannel.LocalConstraints, defaultConstraints, t, defaultConstraints, aliceChannel.LocalConstraints,
) )
// customizedConstraints is a ChannelConstraints with customized values. // customizedConstraints is a ChannelConstraints with customized values.
@@ -4946,7 +4946,7 @@ func testListChannels(net *lntest.NetworkHarness, t *harnessTest) {
MaxAcceptedHtlcs: input.MaxHTLCNumber / 2, MaxAcceptedHtlcs: input.MaxHTLCNumber / 2,
} }
assertChannelConstraintsEqual( assertChannelConstraintsEqual(
t, aliceChannel.RemoteConstraints, customizedConstraints, t, customizedConstraints, aliceChannel.RemoteConstraints,
) )
// Get the ListChannel response for Bob. // Get the ListChannel response for Bob.