move fireEvents to ApplyBlock

This commit is contained in:
Ethan Buchman
2017-12-28 18:58:05 -05:00
parent 8d8d63c94c
commit ae68fcb78a
6 changed files with 45 additions and 38 deletions

View File

@@ -284,7 +284,6 @@ FOR_LOOP:
bcR.store.SaveBlock(first, firstParts, second.LastCommit)
// TODO: should we be firing events? need to fire NewBlock events manually ...
// NOTE: we could improve performance if we
// didn't make the app commit to disk every block
// ... but we would need a way to get the hash without it persisting