From d78a756eecf2a0983a0f7e1177e7252bed72394c Mon Sep 17 00:00:00 2001 From: emizzle Date: Thu, 16 Aug 2018 19:40:06 +1000 Subject: [PATCH] Update dtwitter_spec to have `fromBlock: 1` --- test/dtwitter_spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/dtwitter_spec.js b/test/dtwitter_spec.js index 5718469..12b9df0 100644 --- a/test/dtwitter_spec.js +++ b/test/dtwitter_spec.js @@ -88,7 +88,7 @@ contract("DTwitter contract", function () { DTwitter.events.NewTweet({ filter: { _from: usernameHash }, - fromBlock: 0 + fromBlock: 1 }) .on('data', (event) => { assert.equal(event.returnValues.tweet, tweetContent);