diff --git a/sync/initialSync.go b/sync/initialSync.go index e6cf682..9ff4ff4 100644 --- a/sync/initialSync.go +++ b/sync/initialSync.go @@ -21,6 +21,8 @@ func InitialSync(ctx context.Context, count int64) (datastore.BlockData, error) return lb, err } + recentBlocks.Push(&lb) + if lb.Block != nil { lbh = lb.Block.Height