Browse Source

return null when totalBytesToSendMax cannot be evaluated (instead of 0)

activeAddress
Ivan Socolsky 9 years ago
parent
commit
a838978b3f
  1. 2
      lib/server.js

2
lib/server.js

@ -981,7 +981,7 @@ WalletService.prototype.getBalance = function(opts, cb) {
if (err) {
log.error('Could not compute size of send max transaction', err);
}
balance.totalBytesToSendMax = size || 0;
balance.totalBytesToSendMax = size || null;
return cb(null, balance);
});
});

Loading…
Cancel
Save