Skip to content

Commit 659ad45

Browse files
committed
brontide: placate linter
1 parent 16be46c commit 659ad45

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

peer/brontide.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2817,16 +2817,16 @@ func chooseDeliveryScript(upfront,
28172817
return requested, nil
28182818
}
28192819

2820-
// If an upfront shutdown script was provided, and the user did not request
2821-
// a custom shutdown script, return the upfront address.
2820+
// If an upfront shutdown script was provided, and the user did not
2821+
// request a custom shutdown script, return the upfront address.
28222822
if len(requested) == 0 {
28232823
return upfront, nil
28242824
}
28252825

28262826
// If both an upfront shutdown script and a custom close script were
28272827
// provided, error if the user provided shutdown script does not match
2828-
// the upfront shutdown script (because closing out to a different script
2829-
// would violate upfront shutdown).
2828+
// the upfront shutdown script (because closing out to a different
2829+
// script would violate upfront shutdown).
28302830
if !bytes.Equal(upfront, requested) {
28312831
return nil, chancloser.ErrUpfrontShutdownScriptMismatch
28322832
}

0 commit comments

Comments
 (0)