diff options
| author | tobtoht <tob@featherwallet.org> | 2026-04-22 18:06:02 +0000 |
|---|---|---|
| committer | tobtoht <tob@featherwallet.org> | 2026-04-22 18:06:02 +0000 |
| commit | 8ac6b99c9291203bb555c9d8489d43d87a332eb8 (patch) | |
| tree | 3937a4611be67e0cf06601822b6da1bbbca64f8a /src/wallet | |
| parent | 5f280180a8340ca61f29c320545e9b9021a4deda (diff) | |
| parent | 874c771975257c82e275c17af72899b301a63d5f (diff) | |
| download | monzero-core-8ac6b99c9291203bb555c9d8489d43d87a332eb8.tar.gz monzero-core-8ac6b99c9291203bb555c9d8489d43d87a332eb8.tar.xz monzero-core-8ac6b99c9291203bb555c9d8489d43d87a332eb8.zip | |
Merge pull request #10439
874c771 cryptonote_basic: pruned hash return bool (j-berman)
Diffstat (limited to 'src/wallet')
| -rw-r--r-- | src/wallet/wallet2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index cd1bc1359..9ddca04b5 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 { |
