catch all errors

This commit is contained in:
Ivan Socolsky 2015-03-25 16:02:31 -03:00
parent 90e164ddce
commit fcde3b927f
1 changed files with 1 additions and 1 deletions

View File

@ -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'));
});
};