fixing issue with confusion of blockheight and slot

This commit is contained in:
Godmode Galactus 2023-10-25 20:58:50 +02:00
parent e65ef4558b
commit 92fda9f6bb
No known key found for this signature in database
GPG Key ID: A04142C71ABB0DEA
1 changed files with 1 additions and 1 deletions

View File

@ -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(