Commit 3c15c97a authored by George Hotz's avatar George Hotz Committed by GitHub

Merge pull request #27 from han0110/fix/missing-log-journal

Fix: add missing `addLogChange` to journal
parents ad05131e 5ff1125c
......@@ -162,6 +162,8 @@ func (s *StateDB) Error() error {
}
func (s *StateDB) AddLog(log *types.Log) {
s.journal.append(addLogChange{txhash: s.thash})
log.TxHash = s.thash
log.TxIndex = uint(s.txIndex)
log.Index = s.logSize
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment