minor issue

This commit is contained in:
Godmode Galactus 2023-04-26 11:22:23 +02:00
parent 0403d80676
commit 97b75aa4c7
No known key found for this signature in database
GPG Key ID: A04142C71ABB0DEA
1 changed files with 1 additions and 1 deletions

View File

@ -412,7 +412,7 @@ impl TpuService {
}
Err(_) => {
let es = estimated_slot.load(Ordering::Relaxed);
let cs = estimated_slot.load(Ordering::Relaxed);
let cs = current_slot.load(Ordering::Relaxed);
// estimated slot should not go ahead more than 32 slots
// this is because it may be a slot block
if es < cs + 32 {