From 0e393a5684248b74f3c3f428fe130164539773e4 Mon Sep 17 00:00:00 2001 From: sakridge Date: Tue, 23 Jun 2020 21:49:11 -0700 Subject: [PATCH] Allow for hard fork at last root (#10762) --- ledger/src/blockstore_processor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ledger/src/blockstore_processor.rs b/ledger/src/blockstore_processor.rs index f5a1a4ef3f..b29b3182b9 100644 --- a/ledger/src/blockstore_processor.rs +++ b/ledger/src/blockstore_processor.rs @@ -325,7 +325,7 @@ pub fn process_blockstore_from_root( for hard_fork_slot in new_hard_forks.iter() { // Ensure the user isn't trying to add new hard forks for a slot that's earlier than the current // root slot. Doing so won't cause any effect so emit an error - if *hard_fork_slot <= start_slot { + if *hard_fork_slot < start_slot { error!( "Unable to add new hard fork at {}, it must be greater than slot {}", hard_fork_slot, start_slot