diff options
author | Péter Szilágyi <peterke@gmail.com> | 2015-04-10 21:52:01 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2015-04-10 21:52:01 +0800 |
commit | 0e4f21fc376fae88b59cb33a06a1ddd36a11a592 (patch) | |
tree | e7512b77374ada18387bde01065ecf1edaa51fce /whisper/whisper_test.go | |
parent | 7d8ce53eca90a6e93e49d584a2cff5e39aea40c0 (diff) | |
download | dexon-0e4f21fc376fae88b59cb33a06a1ddd36a11a592.tar dexon-0e4f21fc376fae88b59cb33a06a1ddd36a11a592.tar.gz dexon-0e4f21fc376fae88b59cb33a06a1ddd36a11a592.tar.bz2 dexon-0e4f21fc376fae88b59cb33a06a1ddd36a11a592.tar.lz dexon-0e4f21fc376fae88b59cb33a06a1ddd36a11a592.tar.xz dexon-0e4f21fc376fae88b59cb33a06a1ddd36a11a592.tar.zst dexon-0e4f21fc376fae88b59cb33a06a1ddd36a11a592.zip |
whisper: polish the Envelope a bit, prep for tests.
Diffstat (limited to 'whisper/whisper_test.go')
-rw-r--r-- | whisper/whisper_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/whisper/whisper_test.go b/whisper/whisper_test.go index a3e0e03d2..b29e34a5e 100644 --- a/whisper/whisper_test.go +++ b/whisper/whisper_test.go @@ -18,7 +18,7 @@ func TestEvent(t *testing.T) { }) msg := NewMessage([]byte(fmt.Sprintf("Hello world. This is whisper-go. Incase you're wondering; the time is %v", time.Now()))) - envelope, err := msg.Wrap(DefaultPow, Options{ + envelope, err := msg.Wrap(DefaultProofOfWork, Options{ TTL: DefaultTimeToLive, From: id, To: &id.PublicKey, |