This commit is contained in:
Sean Gilligan 2025-03-02 20:44:13 -06:00 committed by GitHub
commit 3e70e65143
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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