aboutsummaryrefslogtreecommitdiff
path: root/examples/chain
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2019-10-21 14:47:51 -0400
committerDeterminant <[email protected]>2019-10-21 14:47:51 -0400
commit79b1169a9ff0b54ddf3b520a70a79c78ba5c988d (patch)
tree13fc62be3ebf344544547eeb9979450a3c6ecd40 /examples/chain
parent913e9439a7c7883881895ee597a0cc464fb92353 (diff)
customize Blockchain code
Diffstat (limited to 'examples/chain')
-rw-r--r--examples/chain/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/chain/main.go b/examples/chain/main.go
index b2f5629..7b2ce8e 100644
--- a/examples/chain/main.go
+++ b/examples/chain/main.go
@@ -189,6 +189,7 @@ func run(config *eth.Config, a1, a2, b1, b2 int) {
func main() {
// configure the chain
config := eth.DefaultConfig
+ config.ManualCanonical = true
chainConfig := &params.ChainConfig{
ChainID: big.NewInt(1),
HomesteadBlock: big.NewInt(0),