mirror of
https://github.com/monero-project/monero.git
synced 2026-06-12 19:11:36 -07:00
Merge pull request #10438
94089a8 cryptonote_basic: pruned hash return bool (j-berman)
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user