Commit 62fded33 authored by Adrien Béraud's avatar Adrien Béraud

nameservice: fix concurrent calls to awaitConsensus

Change-Id: I547182714f00ba37cc60440da91869f816a2e28f
parent 22b86dcb
......@@ -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);
......
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