aboutsummaryrefslogtreecommitdiff
path: root/examples/counter/main.go
diff options
context:
space:
mode:
authorDeterminant <ted.sybil@gmail.com>2019-10-21 14:47:51 -0400
committerDeterminant <ted.sybil@gmail.com>2019-10-21 14:47:51 -0400
commit79b1169a9ff0b54ddf3b520a70a79c78ba5c988d (patch)
tree13fc62be3ebf344544547eeb9979450a3c6ecd40 /examples/counter/main.go
parent913e9439a7c7883881895ee597a0cc464fb92353 (diff)
customize Blockchain code
Diffstat (limited to 'examples/counter/main.go')
-rw-r--r--examples/counter/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/counter/main.go b/examples/counter/main.go
index db6e1de..5ec83fc 100644
--- a/examples/counter/main.go
+++ b/examples/counter/main.go
@@ -33,6 +33,7 @@ func checkError(err error) {
func main() {
// configure the chain
config := eth.DefaultConfig
+ config.ManualCanonical = true
chainConfig := &params.ChainConfig{
ChainID: big.NewInt(1),
HomesteadBlock: big.NewInt(0),