Commit 463f5c9d authored by Adrien Béraud's avatar Adrien Béraud

nameservice: cleanup name registration log

Change-Id: I46d2df4d6b0a88cc6e2a0b6512a64663a774df2d
parent f0a6d54e
......@@ -17,7 +17,6 @@ Object.getPrototypeOf(web3.eth).awaitConsensus = function(txhash, mined_cb) {
console.log("watch error: " + error);
var receipt = ethP.getTransactionReceipt(txhash);
if (receipt && receipt.transactionHash == txhash) {
console.log(receipt);
filter.stopWatching();
mined_cb();
} else if (!--tries) {
......@@ -235,6 +234,7 @@ function startServer() {
http_res.status(403).end(JSON.stringify({"success": false}));
return;
}
console.log("Ended registration for " + req.params.name + " -> " + addr);
reg.addr(req.params.name, function(err, reg_addr) {
//console.log(reg_c + "Found address " + reg_addr);
if (reg_addr != addr) {
......
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