diff --git a/ledger/chainsync.go b/ledger/chainsync.go index 4a1a5bc2..0c75a8d7 100644 --- a/ledger/chainsync.go +++ b/ledger/chainsync.go @@ -212,7 +212,7 @@ func (ls *LedgerState) processBlockEvents() error { } func (ls *LedgerState) createGenesisBlock() error { - if ls.currentEpoch.SlotLength > 0 { + if ls.currentTip.Point.Slot > 0 { return nil } txn := ls.db.Transaction(true)