Skip to content
Snippets Groups Projects
Commit 62fded33 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

nameservice: fix concurrent calls to awaitConsensus

Change-Id: I547182714f00ba37cc60440da91869f816a2e28f
parent 22b86dcb
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ var web3 = new Web3();
Object.getPrototypeOf(web3.eth).awaitConsensus = function(txhash, mined_cb) {
ethP = this;
var tries = 5;
filter = this.filter('latest');
var filter = this.filter('latest');
filter.watch(function(error, result) {
if (error)
console.log("watch error: " + error);
......
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