Add assert

This commit is contained in:
Simon 2016-09-08 16:46:56 -07:00
parent ed42053a6c
commit 1eb8789789
1 changed files with 1 additions and 1 deletions

View File

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