Browse Source

Remove redundant cs.WAL from NewNode()

pull/307/head
Jae Kwon 8 years ago
parent
commit
eab4e1cfa1
1 changed files with 0 additions and 6 deletions
  1. +0
    -6
      node/node.go

+ 0
- 6
node/node.go View File

@ -109,12 +109,6 @@ func NewNode(config cfg.Config, privValidator *types.PrivValidator, clientCreato
consensusReactor.SetPrivValidator(privValidator)
}
// deterministic accountability
err = consensusState.OpenWAL(config.GetString("cswal"))
if err != nil {
log.Error("Failed to open cswal", "error", err.Error())
}
// Make p2p network switch
sw := p2p.NewSwitch(config.GetConfig("p2p"))
sw.AddReactor("MEMPOOL", mempoolReactor)


Loading…
Cancel
Save