mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 14:46:42 +00:00
whisper: another test fix
This commit is contained in:
parent
084a1af950
commit
16e4466bb0
1 changed files with 0 additions and 4 deletions
|
|
@ -58,10 +58,6 @@ func TestWhisperBasic(t *testing.T) {
|
||||||
if err == nil {
|
if err == nil {
|
||||||
t.Fatalf("failed MarkPeerTrusted.")
|
t.Fatalf("failed MarkPeerTrusted.")
|
||||||
}
|
}
|
||||||
err = w.SendP2PMessage(peerID, nil)
|
|
||||||
if err == nil {
|
|
||||||
t.Fatalf("failed SendP2PMessage.")
|
|
||||||
}
|
|
||||||
exist := w.HasSymKey("non-existing")
|
exist := w.HasSymKey("non-existing")
|
||||||
if exist {
|
if exist {
|
||||||
t.Fatalf("failed HasSymKey.")
|
t.Fatalf("failed HasSymKey.")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue