multi: fix make lint

Fixes new lint errors caught by the latest version.
This commit is contained in:
yyforyongyu committed 2022-11-18 20:48:23 +08:00
1 parent 39b972afe0
commit 84fd911b47
34 files changed
+36 -39

No files matched your search

+2 -2
View File
@@ -5249,7 +5249,7 @@ func TestChannelLinkFail(t *testing.T) {
c.cfg.Peer.(*mockPeer).disconnected = true
},
func(*testing.T, *channelLink,
*lnwallet.LightningChannel) { // nolint:whitespace,lll
*lnwallet.LightningChannel) { //nolint:whitespace,lll
// Should fail at startup.
},
@@ -5269,7 +5269,7 @@ func TestChannelLinkFail(t *testing.T) {
c.channel.State().Packager = pkg
},
func(*testing.T, *channelLink,
*lnwallet.LightningChannel) { // nolint:whitespace,lll
*lnwallet.LightningChannel) { //nolint:whitespace,lll
// Should fail at startup.
},
+1 -1
View File
@@ -1101,5 +1101,5 @@ func (h *mockHTLCNotifier) NotifySettleEvent(key HtlcKey,
}
func (h *mockHTLCNotifier) NotifyFinalHtlcEvent(key channeldb.CircuitKey,
info channeldb.FinalHtlcInfo) { // nolint:whitespace
info channeldb.FinalHtlcInfo) { //nolint:whitespace
}