multi: update linter, fix new issues

This commit is contained in:
Oliver Gugger committed 2023-06-13 11:58:33 +02:00
1 parent e549096b88
commit 56dba2df03
31 files changed
+263 -301

No files matched your search

+3 -3
View File
@@ -19,9 +19,9 @@ func TestLongFailureMessage(t *testing.T) {
t.Parallel()
var testData struct {
SessionKey string
Path []string
Reason string
SessionKey string `json:"session_key"`
Path []string `json:"path"`
Reason string `json:"reason"`
}
// Use long 1024-byte test vector from BOLT 04.
+1 -1
View File
@@ -1102,7 +1102,7 @@ func (m *mockOnionErrorDecryptor) DecryptError(encryptedData []byte) (
var _ htlcNotifier = (*mockHTLCNotifier)(nil)
type mockHTLCNotifier struct {
htlcNotifier
htlcNotifier //nolint:unused
}
func (h *mockHTLCNotifier) NotifyForwardingEvent(key HtlcKey, info HtlcInfo,
+1 -1
View File
@@ -1,5 +1,5 @@
{
"sessionKey": "4141414141414141414141414141414141414141414141414141414141414141",
"session_key": "4141414141414141414141414141414141414141414141414141414141414141",
"path": [
"02eec7245d6b7d2ccb30380bfbe2a3648cd7a942653f5aa340edcea1f283686619",
"0324653eac434488002cc06bbfb7f10fe18991e35f9fe4302dbea6d2353dc0ab1c",