aboutsummaryrefslogtreecommitdiff
path: root/params/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'params/config.go')
-rw-r--r--params/config.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/params/config.go b/params/config.go
index f945f47..8d7bd92 100644
--- a/params/config.go
+++ b/params/config.go
@@ -560,6 +560,10 @@ func (c *ChainConfig) CheckConfigForkOrder() error {
lastFork = cur
}
}
+
+ if c.ApricotBlockTimestamp != nil && c.YoloV1Block != nil {
+ return fmt.Errorf("apricot fork is incomatible with yoloV1 fork")
+ }
return nil
}