aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/blocklattice.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/blocklattice.go b/core/blocklattice.go
index f746c20..9b43b67 100644
--- a/core/blocklattice.go
+++ b/core/blocklattice.go
@@ -97,6 +97,7 @@ func (l *BlockLattice) AddValidator(
l.fmax = (len(l.ValidatorSet) - 1) / 3
l.phi = 2*l.fmax + 1
+ // TODO: We should not make genesis blocks 'final' directly.
genesis.State = types.BlockStatusFinal
l.blockDB.Put(*genesis)
}