aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
diff options
context:
space:
mode:
authorj-berman <justinberman@protonmail.com>2026-04-21 12:04:31 -0700
committerj-berman <justinberman@protonmail.com>2026-04-21 12:05:12 -0700
commit874c771975257c82e275c17af72899b301a63d5f (patch)
treee6e970e0b2a13645e00dbde0ce42f07a2b33e54f /src/wallet
parent8b6be66bef8cce6e074074b7329be9509b93dbb8 (diff)
downloadmonzero-core-874c771975257c82e275c17af72899b301a63d5f.tar.gz
monzero-core-874c771975257c82e275c17af72899b301a63d5f.tar.xz
monzero-core-874c771975257c82e275c17af72899b301a63d5f.zip
cryptonote_basic: pruned hash return bool
Diffstat (limited to 'src/wallet')
-rw-r--r--src/wallet/wallet2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp
index db72ce4f6..c8c3dea90 100644
--- a/src/wallet/wallet2.cpp
+++ b/src/wallet/wallet2.cpp
@@ -983,7 +983,7 @@ bool get_pruned_tx(const cryptonote::COMMAND_RPC_GET_TRANSACTIONS::entry &entry,
// only v2 txes can calculate their txid after pruned
if (bd[0] > 1)
{
- tx_hash = cryptonote::get_pruned_transaction_hash(tx, ph);
+ CHECK_AND_ASSERT_MES(cryptonote::get_pruned_transaction_hash(tx, ph, tx_hash), false, "Failed to get pruned tx hash");
}
else
{