diff --git a/lntest/itest/lnd_test.go b/lntest/itest/lnd_test.go index 90a938435..b6aa1933b 100644 --- a/lntest/itest/lnd_test.go +++ b/lntest/itest/lnd_test.go @@ -1457,9 +1457,14 @@ test: // Check that the signalled type matches what we // expect. switch { - case expType == commitTypeAnchors && chansCommitType == lnrpc.CommitmentType_ANCHORS: - case expType == commitTypeTweakless && chansCommitType == lnrpc.CommitmentType_STATIC_REMOTE_KEY: - case expType == commitTypeLegacy && chansCommitType == lnrpc.CommitmentType_LEGACY: + case expType == commitTypeAnchors && + chansCommitType == lnrpc.CommitmentType_ANCHORS: + + case expType == commitTypeTweakless && + chansCommitType == lnrpc.CommitmentType_STATIC_REMOTE_KEY: + + case expType == commitTypeLegacy && + chansCommitType == lnrpc.CommitmentType_LEGACY: default: t.Fatalf("expected nodes to signal "+