diff options
author | obscuren <geffobscura@gmail.com> | 2014-12-10 21:17:32 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-12-10 21:17:32 +0800 |
commit | dda778eda7ad9b94acf14c3c91c1c29e711e170f (patch) | |
tree | dfbb71a45399455fd2c2bb77ce72c8ce9d79ba45 /whisper/main.go | |
parent | 0f5c6c5e2daa9fbf3a0bb753debd8989a872823c (diff) | |
download | go-tangerine-dda778eda7ad9b94acf14c3c91c1c29e711e170f.tar go-tangerine-dda778eda7ad9b94acf14c3c91c1c29e711e170f.tar.gz go-tangerine-dda778eda7ad9b94acf14c3c91c1c29e711e170f.tar.bz2 go-tangerine-dda778eda7ad9b94acf14c3c91c1c29e711e170f.tar.lz go-tangerine-dda778eda7ad9b94acf14c3c91c1c29e711e170f.tar.xz go-tangerine-dda778eda7ad9b94acf14c3c91c1c29e711e170f.tar.zst go-tangerine-dda778eda7ad9b94acf14c3c91c1c29e711e170f.zip |
Updated whisper messages to new crypto api + added tests
Diffstat (limited to 'whisper/main.go')
-rw-r--r-- | whisper/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/whisper/main.go b/whisper/main.go index 3868f604f..80050d899 100644 --- a/whisper/main.go +++ b/whisper/main.go @@ -19,7 +19,7 @@ func main() { pub, sec := secp256k1.GenerateKeyPair() - whisper := whisper.New(pub, sec) + whisper := whisper.New(sec) srv := p2p.Server{ MaxPeers: 10, |