good morning!!!!

Skip to content
Snippets Groups Projects
Commit 0291eff9 authored by Jeffrey Wilcke's avatar Jeffrey Wilcke
Browse files

Identity test

parent c96e504a
No related branches found
No related tags found
No related merge requests found
package qwhisper
import (
"testing"
"github.com/ethereum/go-ethereum/whisper"
)
func TestHasIdentity(t *testing.T) {
qw := New(whisper.New())
id := qw.NewIdentity()
if !qw.HasIdentity(id) {
t.Error("expected to have identity")
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment