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/mailserver | |
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/mailserver')
-rw-r--r-- | whisper/mailserver/mailserver.go | 2 | ||||
-rw-r--r-- | whisper/mailserver/server_test.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/whisper/mailserver/mailserver.go b/whisper/mailserver/mailserver.go index 0ec6ec570..6555fd5c0 100644 --- a/whisper/mailserver/mailserver.go +++ b/whisper/mailserver/mailserver.go @@ -26,7 +26,7 @@ import ( "github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/log" "github.com/ethereum/go-ethereum/rlp" - whisper "github.com/ethereum/go-ethereum/whisper/whisperv5" + whisper "github.com/ethereum/go-ethereum/whisper/whisperv6" "github.com/syndtr/goleveldb/leveldb" "github.com/syndtr/goleveldb/leveldb/util" ) diff --git a/whisper/mailserver/server_test.go b/whisper/mailserver/server_test.go index 9155ee85a..c8e0a553a 100644 --- a/whisper/mailserver/server_test.go +++ b/whisper/mailserver/server_test.go @@ -26,7 +26,7 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/crypto" - whisper "github.com/ethereum/go-ethereum/whisper/whisperv5" + whisper "github.com/ethereum/go-ethereum/whisper/whisperv6" ) const powRequirement = 0.00001 |