diff --git a/src/wallet/asyncrpcoperation_sendmany.cpp b/src/wallet/asyncrpcoperation_sendmany.cpp index 1016501c3..bb145b599 100644 --- a/src/wallet/asyncrpcoperation_sendmany.cpp +++ b/src/wallet/asyncrpcoperation_sendmany.cpp @@ -665,7 +665,7 @@ bool AsyncRPCOperation_sendmany::find_utxos(bool fAcceptCoinbase=false) { // By default we ignore coinbase outputs bool isCoinbase = out.tx->IsCoinBase(); - if (out.tx->IsCoinBase() && fAcceptCoinbase==false) { + if (isCoinbase && fAcceptCoinbase==false) { continue; }