From 874c771975257c82e275c17af72899b301a63d5f Mon Sep 17 00:00:00 2001 From: j-berman Date: Tue, 21 Apr 2026 12:04:31 -0700 Subject: cryptonote_basic: pruned hash return bool --- src/wallet/wallet2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wallet/wallet2.cpp') 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 { -- cgit v1.2.3