mirror of
https://git.hush.is/hush/hush3.git
synced 2025-09-12 00:01:59 -04:00
Add assert
This commit is contained in:
parent
ed42053a6c
commit
1eb8789789
@ -308,7 +308,7 @@ bool AsyncRPCOperation_sendmany::main_impl() {
|
||||
|
||||
} else if (!isSingleZaddrOutput && selectedUTXOCoinbase) {
|
||||
// This should not happen and is not allowed
|
||||
throw JSONRPCError(RPC_WALLET_ERROR, "Wallet selected Coinbase UTXOs as valid inputs when it should not have done");
|
||||
assert(false);
|
||||
} else {
|
||||
// If there is a single zaddr and no coinbase utxos, just use a regular output for change.
|
||||
add_taddr_change_output_to_tx(change);
|
||||
|
Loading…
x
Reference in New Issue
Block a user