index
:
coreth
Avalanche C-Chain service code.
log msg
author
committer
range
dev
devnet-no-plugin
ecstasy-fixes
ecstasy-transfer
geth-tavum
master
multi-coin
about
summary
refs
log
tree
commit
diff
path:
root
/
examples
/
counter
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'examples/counter')
-rw-r--r--
examples/counter/main.go
1
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 := ¶ms.ChainConfig{
ChainID: big.NewInt(1),
HomesteadBlock: big.NewInt(0),