diff options
author | Guillaume Ballet <gballet@gmail.com> | 2018-02-10 21:35:32 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-02-10 21:35:32 +0800 |
commit | 5cf75a30c1ceb0ab35cd6b0532520d556996b21c (patch) | |
tree | 9a5d6f0fdf27967f38aed2dd5cc651106c00eaa2 /whisper/whisperv6/api.go | |
parent | 2f849ade8204a4b417202d90c66e2f5bef4e965d (diff) | |
download | dexon-5cf75a30c1ceb0ab35cd6b0532520d556996b21c.tar dexon-5cf75a30c1ceb0ab35cd6b0532520d556996b21c.tar.gz dexon-5cf75a30c1ceb0ab35cd6b0532520d556996b21c.tar.bz2 dexon-5cf75a30c1ceb0ab35cd6b0532520d556996b21c.tar.lz dexon-5cf75a30c1ceb0ab35cd6b0532520d556996b21c.tar.xz dexon-5cf75a30c1ceb0ab35cd6b0532520d556996b21c.tar.zst dexon-5cf75a30c1ceb0ab35cd6b0532520d556996b21c.zip |
whisper: get wnode to work with v6 (#16051)
The bulk of the issue was to adapt to the new requirement
that a v6 filter has to either contain a symmertric key or
an asymmetric one.
This commits revert one of the fixes that I made to remove
a linter warning: unexporting NewSentMessage. This is not
really a problem as I have a cleanup in the pipe that will
solve this issue.
Diffstat (limited to 'whisper/whisperv6/api.go')
-rw-r--r-- | whisper/whisperv6/api.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/whisper/whisperv6/api.go b/whisper/whisperv6/api.go index 8ae2882e1..a2c75a41c 100644 --- a/whisper/whisperv6/api.go +++ b/whisper/whisperv6/api.go @@ -292,7 +292,7 @@ func (api *PublicWhisperAPI) Post(ctx context.Context, req NewMessage) (bool, er } // encrypt and sent message - whisperMsg, err := newSentMessage(params) + whisperMsg, err := NewSentMessage(params) if err != nil { return false, err } |