Skip to content
Snippets Groups Projects
Commit 957f904a authored by Benjamin Bollen's avatar Benjamin Bollen Committed by GitHub
Browse files

Merge branch 'master' into debug-flag

parents 5da5f0ff 57343048
No related branches found
No related tags found
No related merge requests found
......@@ -121,12 +121,17 @@ func (erisNodeWebsocketClient *erisNodeWebsocketClient) WaitForConfirmation(tx t
continue
}
// NOTE: [ben] hotfix on 0.16.1 because NewBlock events to arrive seemingly late
// we now miss events because of this redundant check; This check is safely removed
// because for CallTx on checking the transaction is not run in the EVM and no false
// positive event can be sent; neither is this check a good check for that.
// we don't accept events unless they came after a new block (ie. in)
if latestBlockHash == nil {
logging.InfoMsg(erisNodeWebsocketClient.logger, "First block has not been registered so ignoring event",
"event", event.Event)
continue
}
// if latestBlockHash == nil {
// logging.InfoMsg(erisNodeWebsocketClient.logger, "First block has not been registered so ignoring event",
// "event", event.Event)
// continue
// }
if event.Event != eid {
logging.InfoMsg(erisNodeWebsocketClient.logger, "Received unsolicited event",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment