diff --git a/lib/server.js b/lib/server.js index e4218bf..e79553b 100644 --- a/lib/server.js +++ b/lib/server.js @@ -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); }); }); diff --git a/package.json b/package.json index 4e837c3..00ae69c 100644 --- a/package.json +++ b/package.json @@ -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",