mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
checking if hash of tx reconstructed from json is correct added
This commit is contained in:
parent
6141f92311
commit
615c087efb
1 changed files with 8 additions and 0 deletions
|
@ -4048,6 +4048,14 @@ private:
|
|||
continue;
|
||||
}
|
||||
|
||||
if (_tx_info.id_hash != pod_to_hex(get_transaction_hash(tx)))
|
||||
{
|
||||
cerr << "Hash of reconstructed tx from json does not match "
|
||||
"what we should get!"
|
||||
<< endl;
|
||||
continue;
|
||||
}
|
||||
|
||||
if (tx_hash == mem_tx_hash)
|
||||
{
|
||||
found_txs.push_back(make_pair(_tx_info, tx));
|
||||
|
|
Loading…
Reference in a new issue