aboutsummaryrefslogtreecommitdiffstats
path: root/whisper/whisper_test.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2015-04-10 21:52:01 +0800
committerPéter Szilágyi <peterke@gmail.com>2015-04-10 21:52:01 +0800
commit0e4f21fc376fae88b59cb33a06a1ddd36a11a592 (patch)
treee7512b77374ada18387bde01065ecf1edaa51fce /whisper/whisper_test.go
parent7d8ce53eca90a6e93e49d584a2cff5e39aea40c0 (diff)
downloaddexon-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.go2
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,