Update dtwitter_spec to have `fromBlock: 1`

This commit is contained in:
emizzle 2018-08-16 19:40:06 +10:00
parent 33333689bc
commit d78a756eec
1 changed files with 1 additions and 1 deletions

View File

@ -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);