fixed balance polling bug
This commit is contained in:
parent
30084617c3
commit
ae82b5ad26
1 changed files with 2 additions and 2 deletions
|
|
@ -189,9 +189,9 @@ Trader.prototype.sendBitcoins = function (deviceFingerprint, tx, cb) {
|
||||||
return cb(err);
|
return cb(err);
|
||||||
}
|
}
|
||||||
|
|
||||||
cb(null, txHash);
|
|
||||||
self.db.completeTransaction(tx, txHash);
|
self.db.completeTransaction(tx, txHash);
|
||||||
self.pollRate();
|
self.pollBalance();
|
||||||
|
cb(null, txHash);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue