mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
fix: tx block number incorrect by 1.
This commit is contained in:
parent
dd3aeca666
commit
d5933100a8
1 changed files with 3 additions and 1 deletions
|
@ -3935,7 +3935,9 @@ private:
|
||||||
|
|
||||||
if (core_storage->have_tx(tx_hash))
|
if (core_storage->have_tx(tx_hash))
|
||||||
{
|
{
|
||||||
tx_blk_height = core_storage->get_db().get_tx_block_height(tx_hash);
|
// currently get_tx_block_height seems to return a block hight
|
||||||
|
// +1. Before it was not like this.
|
||||||
|
tx_blk_height = core_storage->get_db().get_tx_block_height(tx_hash) - 1;
|
||||||
tx_blk_found = true;
|
tx_blk_found = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue