statesync: use initial height as a floor to backfilling (#6709)

This commit is contained in:
Callum Waters
2021-07-13 16:36:16 +02:00
committed by GitHub
parent 11bebfb6a0
commit a12e2bbb60
4 changed files with 72 additions and 26 deletions
+1
View File
@@ -463,6 +463,7 @@ func TestReactor_Backfill(t *testing.T) {
factory.DefaultTestChainID,
startHeight,
stopHeight,
1,
factory.MakeBlockIDWithHash(chain[startHeight].Header.Hash()),
stopTime,
)