aboutsummaryrefslogtreecommitdiff
path: root/examples/counter/main.go
diff options
context:
space:
mode:
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),