lntest/itest: fix line wrapping in funding test case
This commit is contained in:
1 file changed
+8
-3
@@ -1457,9 +1457,14 @@ test:
|
|||||||
// Check that the signalled type matches what we
|
// Check that the signalled type matches what we
|
||||||
// expect.
|
// expect.
|
||||||
switch {
|
switch {
|
||||||
case expType == commitTypeAnchors && chansCommitType == lnrpc.CommitmentType_ANCHORS:
|
case expType == commitTypeAnchors &&
|
||||||
case expType == commitTypeTweakless && chansCommitType == lnrpc.CommitmentType_STATIC_REMOTE_KEY:
|
chansCommitType == lnrpc.CommitmentType_ANCHORS:
|
||||||
case expType == commitTypeLegacy && chansCommitType == lnrpc.CommitmentType_LEGACY:
|
|
||||||
|
case expType == commitTypeTweakless &&
|
||||||
|
chansCommitType == lnrpc.CommitmentType_STATIC_REMOTE_KEY:
|
||||||
|
|
||||||
|
case expType == commitTypeLegacy &&
|
||||||
|
chansCommitType == lnrpc.CommitmentType_LEGACY:
|
||||||
|
|
||||||
default:
|
default:
|
||||||
t.Fatalf("expected nodes to signal "+
|
t.Fatalf("expected nodes to signal "+
|
||||||
|
|||||||
Reference in new issue
Block a user