diff options
author | gluk256 <gluk256@users.noreply.github.com> | 2017-02-14 22:44:47 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-02-14 22:44:47 +0800 |
commit | 15a609d5d6613e37e819975ceba01cb5ba735242 (patch) | |
tree | 1de23ad8c8d5885700164185f0d0d92f7ae95199 /whisper/mailserver/server_test.go | |
parent | 72dcd3c58bec0a281280d5d42ed53b6e429ce4af (diff) | |
download | go-tangerine-15a609d5d6613e37e819975ceba01cb5ba735242.tar go-tangerine-15a609d5d6613e37e819975ceba01cb5ba735242.tar.gz go-tangerine-15a609d5d6613e37e819975ceba01cb5ba735242.tar.bz2 go-tangerine-15a609d5d6613e37e819975ceba01cb5ba735242.tar.lz go-tangerine-15a609d5d6613e37e819975ceba01cb5ba735242.tar.xz go-tangerine-15a609d5d6613e37e819975ceba01cb5ba735242.tar.zst go-tangerine-15a609d5d6613e37e819975ceba01cb5ba735242.zip |
whisper: interface changed to simplify the transition to v5
* whisper: mailserver test introduced, refactoring
* whisper: validation test updated
* whisper: max number of peers fixed
* whisper: verification bug fixed
* whisper: esthetic fix
* whisper: interface changed to simplify the transition to v5
* whisper: preparation for version switch
Diffstat (limited to 'whisper/mailserver/server_test.go')
-rw-r--r-- | whisper/mailserver/server_test.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/whisper/mailserver/server_test.go b/whisper/mailserver/server_test.go index 24abf6c1a..02b30ff5e 100644 --- a/whisper/mailserver/server_test.go +++ b/whisper/mailserver/server_test.go @@ -84,7 +84,9 @@ func TestMailServer(t *testing.T) { } var server WMailServer - shh = whisper.NewWhisper(&server) + shh = whisper.New() + shh.RegisterServer(&server) + server.Init(shh, dbPath, password, powRequirement) defer server.Close() |