aboutsummaryrefslogtreecommitdiff
path: root/examples/multicoin
diff options
context:
space:
mode:
Diffstat (limited to 'examples/multicoin')
-rw-r--r--examples/multicoin/main.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/multicoin/main.go b/examples/multicoin/main.go
index fc379d4..bfad5ca 100644
--- a/examples/multicoin/main.go
+++ b/examples/multicoin/main.go
@@ -64,6 +64,9 @@ func main() {
genKey := coreth.NewKeyFromECDSA(hk)
config.Genesis = genesisBlock
+ config.TrieCleanCache += config.SnapshotCache
+ config.SnapshotCache = 0
+
// grab the control of block generation and disable auto uncle
config.Miner.ManualMining = true
config.Miner.ManualUncle = true