Skip to content
This repository has been archived by the owner on May 13, 2022. It is now read-only.

Commit

Permalink
Merge pull request #760 from silasdavis/develop
Browse files Browse the repository at this point in the history
Flush events after hashing to fix timing issue in test
  • Loading branch information
Silas Davis authored May 8, 2018
2 parents 93e2f57 + 83e0408 commit a7e6fcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion execution/execution.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func (exe *executor) Commit() (hash []byte, err error) {
return nil, err
}
// flush events to listeners
exe.eventCache.Flush()
defer exe.eventCache.Flush()
return exe.state.Hash(), nil
}

Expand Down

0 comments on commit a7e6fcc

Please sign in to comment.