From 666f6a16db5d6718e0e47bccad6ffce9df71bc3d Mon Sep 17 00:00:00 2001 From: Leo Chen Date: Tue, 17 Mar 2020 10:13:47 -0700 Subject: [PATCH] [pruning] re-enable the is_archival parameter (#2514) Signed-off-by: Leo Chen --- cmd/harmony/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/harmony/main.go b/cmd/harmony/main.go index ed3134cde..9bfa0ae37 100644 --- a/cmd/harmony/main.go +++ b/cmd/harmony/main.go @@ -456,7 +456,7 @@ func setupConsensusAndNode(nodeConfig *nodeconfig.ConfigType) *node.Node { // Current node. chainDBFactory := &shardchain.LDBFactory{RootDir: nodeConfig.DBDir} - currentNode := node.New(myHost, currentConsensus, chainDBFactory, blacklist, true) + currentNode := node.New(myHost, currentConsensus, chainDBFactory, blacklist, *isArchival) switch { case *networkType == nodeconfig.Localnet: