Updated whisper messages to new crypto api + added tests

This commit is contained in:
obscuren
2014-12-10 14:17:32 +01:00
parent 0f5c6c5e2d
commit dda778eda7
5 changed files with 89 additions and 11 deletions

View File

@ -19,7 +19,7 @@ func main() {
pub, sec := secp256k1.GenerateKeyPair()
whisper := whisper.New(pub, sec)
whisper := whisper.New(sec)
srv := p2p.Server{
MaxPeers: 10,