Browse Source

BWU v0.0.23

activeAddress
Ivan Socolsky 10 years ago
parent
commit
1a72bb9c18
  1. 4
      lib/server.js
  2. 4
      package.json

4
lib/server.js

@ -743,11 +743,11 @@ WalletService.prototype.getBalance = function(opts, cb) {
balance.byAddress = _.values(byAddress); balance.byAddress = _.values(byAddress);
self._computeBytesToSendMax(utxos, function(err, sizeInBytes) { self._computeBytesToSendMax(utxos, function(err, size) {
if (err) { if (err) {
log.error('Could not compute fees needed to transfer max amount', 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); return cb(null, balance);
}); });
}); });

4
package.json

@ -2,7 +2,7 @@
"name": "bitcore-wallet-service", "name": "bitcore-wallet-service",
"description": "A service for Mutisig HD Bitcoin Wallets", "description": "A service for Mutisig HD Bitcoin Wallets",
"author": "BitPay Inc", "author": "BitPay Inc",
"version": "0.0.46", "version": "0.0.47",
"keywords": [ "keywords": [
"bitcoin", "bitcoin",
"copay", "copay",
@ -20,7 +20,7 @@
"dependencies": { "dependencies": {
"async": "^0.9.0", "async": "^0.9.0",
"bitcore": "^0.12.9", "bitcore": "^0.12.9",
"bitcore-wallet-utils": "^0.0.22", "bitcore-wallet-utils": "^0.0.23",
"body-parser": "^1.11.0", "body-parser": "^1.11.0",
"coveralls": "^2.11.2", "coveralls": "^2.11.2",
"email-validator": "^1.0.1", "email-validator": "^1.0.1",

Loading…
Cancel
Save