BWU v0.0.23
This commit is contained in:
parent
26aef25be6
commit
1a72bb9c18
|
@ -743,11 +743,11 @@ WalletService.prototype.getBalance = function(opts, cb) {
|
|||
|
||||
balance.byAddress = _.values(byAddress);
|
||||
|
||||
self._computeBytesToSendMax(utxos, function(err, sizeInBytes) {
|
||||
self._computeBytesToSendMax(utxos, function(err, size) {
|
||||
if (err) {
|
||||
log.error('Could not compute fees needed to transfer max amount', err);
|
||||
}
|
||||
balance.totalBytesToSendMax = sizeInBytes || 0;
|
||||
balance.totalBytesToSendMax = size || 0;
|
||||
return cb(null, balance);
|
||||
});
|
||||
});
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"name": "bitcore-wallet-service",
|
||||
"description": "A service for Mutisig HD Bitcoin Wallets",
|
||||
"author": "BitPay Inc",
|
||||
"version": "0.0.46",
|
||||
"version": "0.0.47",
|
||||
"keywords": [
|
||||
"bitcoin",
|
||||
"copay",
|
||||
|
@ -20,7 +20,7 @@
|
|||
"dependencies": {
|
||||
"async": "^0.9.0",
|
||||
"bitcore": "^0.12.9",
|
||||
"bitcore-wallet-utils": "^0.0.22",
|
||||
"bitcore-wallet-utils": "^0.0.23",
|
||||
"body-parser": "^1.11.0",
|
||||
"coveralls": "^2.11.2",
|
||||
"email-validator": "^1.0.1",
|
||||
|
|
Loading…
Reference in New Issue