Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
burrow
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hang Yu
burrow
Commits
957f904a
Commit
957f904a
authored
7 years ago
by
Benjamin Bollen
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into debug-flag
parents
5da5f0ff
57343048
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
client/websocket_client.go
+10
-5
10 additions, 5 deletions
client/websocket_client.go
with
10 additions
and
5 deletions
client/websocket_client.go
+
10
−
5
View file @
957f904a
...
...
@@ -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"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment