mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-03-13 11:36:15 +01:00
Merge 3ac2e6187d
into 1090649211
This commit is contained in:
commit
3e70e65143
1 changed files with 1 additions and 1 deletions
|
@ -4280,7 +4280,7 @@ public class Wallet extends BaseTaggableObject
|
|||
try {
|
||||
// Complete successfully when the transaction has been sent (or buffered, at least) to peers.
|
||||
return sendCoins(sendRequest).broadcast.awaitSent();
|
||||
} catch (KeyCrypterException | InsufficientMoneyException e) {
|
||||
} catch (KeyCrypterException | InsufficientMoneyException | CompletionException | IllegalStateException | IllegalArgumentException e) {
|
||||
// We should never try to send more coins than we have, if we do we get an InsufficientMoneyException
|
||||
return FutureUtils.failedFuture(e);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue