From 397f9f11c5543cc4c44c19f19970b22f0f58ebbd Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Wed, 24 Jun 2020 06:10:48 +0000 Subject: [PATCH] Allow for hard fork at last root (#10762) (#10766) (cherry picked from commit 0e393a5684248b74f3c3f428fe130164539773e4) Co-authored-by: sakridge --- 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 d1de25eefa..eabdcc91b5 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