catch all errors
This commit is contained in:
parent
90e164ddce
commit
fcde3b927f
|
@ -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…
Reference in New Issue