Browse Source

catch all errors

activeAddress
Ivan Socolsky 10 years ago
parent
commit
fcde3b927f
  1. 2
      lib/server.js

2
lib/server.js

@ -522,7 +522,7 @@ WalletService.prototype._selectTxInputs = function(txp, cb) {
return cb(new ClientError('DUSTAMOUNT', 'Amount below dust threshold'));
}
return cb(error);
return cb(bitcoreError || new Error('Could not select tx inputs'));
});
};

Loading…
Cancel
Save