fixing issue with confusion of blockheight and slot
This commit is contained in:
parent
e65ef4558b
commit
92fda9f6bb
|
@ -71,7 +71,7 @@ impl DataCachingService {
|
|||
let last_valid_blockheight = if let Some(block_info) = block_info {
|
||||
block_info.last_valid_blockheight
|
||||
} else {
|
||||
block.slot + MAX_RECENT_BLOCKHASHES as u64
|
||||
block.block_height + MAX_RECENT_BLOCKHASHES as u64
|
||||
};
|
||||
|
||||
if data_cache.txs.update_status(
|
||||
|
|
Loading…
Reference in New Issue