Skip to content

Commit

Permalink
Non-HD wallets crash fix (#1401)
Browse files Browse the repository at this point in the history
  • Loading branch information
levonpetrosyan93 authored Jan 24, 2024
1 parent 91959a3 commit c1c464d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wallet/wallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1948,7 +1948,7 @@ bool CWallet::IsMine(const CTransaction& tx) const
{
if (tx.IsSparkTransaction()) {
if (!sparkWallet)
false;
return false;
std::vector<unsigned char> serialContext = spark::getSerialContext(tx);
for (const auto& txout : tx.vout) {
if (txout.scriptPubKey.IsSparkMint() || txout.scriptPubKey.IsSparkSMint()) {
Expand Down

0 comments on commit c1c464d

Please sign in to comment.