mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
whisper: build fix
This commit is contained in:
parent
7a3c481826
commit
f0d793723f
1 changed files with 2 additions and 1 deletions
|
|
@ -58,7 +58,8 @@ func TestWhisperBasic(t *testing.T) {
|
|||
if err == nil {
|
||||
t.Fatalf("failed MarkPeerTrusted.")
|
||||
}
|
||||
err = w.RequestHistoricMessages(peerID, peerID)
|
||||
var empty Envelope
|
||||
err = w.RequestHistoricMessages(peerID, &empty)
|
||||
if err == nil {
|
||||
t.Fatalf("failed RequestHistoricMessages.")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue