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
This commit is contained in:
@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user