Fix sendBitcoins
This commit is contained in:
parent
36081c4109
commit
230b31cdbe
1 changed files with 2 additions and 2 deletions
|
|
@ -122,7 +122,7 @@ Trader.prototype.sendBitcoins = function (deviceFingerprint, tx, cb) {
|
||||||
return self.transferExchange.sendBitcoins(
|
return self.transferExchange.sendBitcoins(
|
||||||
tx.toAddress,
|
tx.toAddress,
|
||||||
tx.satoshis,
|
tx.satoshis,
|
||||||
self.config.settings.transactionFee,
|
self.config.exchanges.settings.transactionFee,
|
||||||
function(err, txHash) {
|
function(err, txHash) {
|
||||||
if (err) {
|
if (err) {
|
||||||
self.db.reportTransactionError(tx, err);
|
self.db.reportTransactionError(tx, err);
|
||||||
|
|
@ -131,7 +131,7 @@ Trader.prototype.sendBitcoins = function (deviceFingerprint, tx, cb) {
|
||||||
|
|
||||||
cb(null, txHash);
|
cb(null, txHash);
|
||||||
self.db.completeTransaction(tx, txHash);
|
self.db.completeTransaction(tx, txHash);
|
||||||
self.triggerBalance();
|
self.pollRate();
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue