mirror of
https://github.com/status-im/whisper.git
synced 2025-02-02 05:55:26 +00:00
all: fix go vet warnings
This commit is contained in:
parent
e32db04cb0
commit
03f381385d
@ -108,7 +108,7 @@ func TestMessageAnonymousEncryptDecrypt(t *testing.T) {
|
||||
t.Fatalf("failed to open encrypted message: %v", err)
|
||||
}
|
||||
if !bytes.Equal(out.Payload, payload) {
|
||||
t.Error("payload mismatch: have 0x%x, want 0x%x", out.Payload, payload)
|
||||
t.Errorf("payload mismatch: have 0x%x, want 0x%x", out.Payload, payload)
|
||||
}
|
||||
}
|
||||
|
||||
@ -144,7 +144,7 @@ func TestMessageFullCrypto(t *testing.T) {
|
||||
t.Fatalf("failed to open encrypted message: %v", err)
|
||||
}
|
||||
if !bytes.Equal(out.Payload, payload) {
|
||||
t.Error("payload mismatch: have 0x%x, want 0x%x", out.Payload, payload)
|
||||
t.Errorf("payload mismatch: have 0x%x, want 0x%x", out.Payload, payload)
|
||||
}
|
||||
|
||||
pubKey := out.Recover()
|
||||
|
Loading…
x
Reference in New Issue
Block a user