diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index cd599b771c..fababfae30 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -1948,7 +1948,7 @@ bool CWallet::IsMine(const CTransaction& tx) const { if (tx.IsSparkTransaction()) { if (!sparkWallet) - false; + return false; std::vector serialContext = spark::getSerialContext(tx); for (const auto& txout : tx.vout) { if (txout.scriptPubKey.IsSparkMint() || txout.scriptPubKey.IsSparkSMint()) {