API changed to use Pubkey only. Reflected that change in the rest of the api
This commit is contained in:
@ -11,7 +11,7 @@ func TestEvent(t *testing.T) {
|
||||
whisper := New()
|
||||
id := whisper.NewIdentity()
|
||||
whisper.Watch(Filter{
|
||||
To: id,
|
||||
To: &id.PublicKey,
|
||||
Fn: func(msg *Message) {
|
||||
res <- msg
|
||||
},
|
||||
|
Reference in New Issue
Block a user