aboutsummaryrefslogtreecommitdiffstats
path: root/whisper/mailserver
diff options
context:
space:
mode:
authorGuillaume Ballet <gballet@gmail.com>2018-02-10 21:35:32 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-02-10 21:35:32 +0800
commit5cf75a30c1ceb0ab35cd6b0532520d556996b21c (patch)
tree9a5d6f0fdf27967f38aed2dd5cc651106c00eaa2 /whisper/mailserver
parent2f849ade8204a4b417202d90c66e2f5bef4e965d (diff)
downloaddexon-5cf75a30c1ceb0ab35cd6b0532520d556996b21c.tar.gz
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.go2
-rw-r--r--whisper/mailserver/server_test.go2
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