Merge pull request #10438

94089a8 cryptonote_basic: pruned hash return bool (j-berman)
This commit is contained in:
tobtoht
2026-04-22 18:05:34 +00:00
4 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -984,7 +984,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
{