From 4d947f51d404ccda8d043ba31db1821c76485b59 Mon Sep 17 00:00:00 2001
From: Silas Davis <silas@monax.io>
Date: Sat, 24 Feb 2018 14:22:33 +0000
Subject: [PATCH] Hotfix on config wal overwrite

Signed-off-by: Silas Davis <silas@monax.io>
---
 consensus/tendermint/config.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/consensus/tendermint/config.go b/consensus/tendermint/config.go
index 274dec1a..304c5051 100644
--- a/consensus/tendermint/config.go
+++ b/consensus/tendermint/config.go
@@ -31,7 +31,7 @@ func (btc *BurrowTendermintConfig) TendermintConfig() *tm_config.Config {
 		// minimal
 		conf.P2P.Seeds = btc.Seeds
 		conf.P2P.ListenAddress = btc.ListenAddress
-		conf.P2P.AddrBook = path.Join(btc.TendermintRoot, conf.Consensus.WalPath)
+		conf.P2P.AddrBook = path.Join(btc.TendermintRoot, conf.P2P.AddrBook)
 		conf.Moniker = btc.Moniker
 		conf.DBPath = path.Join(btc.TendermintRoot, conf.DBPath)
 		conf.Mempool.WalPath = path.Join(btc.TendermintRoot, conf.Mempool.WalPath)
-- 
GitLab