Browse Source

enable tx_indexer by default

pull/412/head
Ethan Buchman 8 years ago
parent
commit
23dbd0c8c3
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      config/tendermint/config.go
  2. +1
    -1
      config/tendermint_test/config.go

+ 1
- 1
config/tendermint/config.go View File

@ -101,7 +101,7 @@ func GetConfig(rootDir string) cfg.Config {
mapConfig.SetDefault("mempool_broadcast", true)
mapConfig.SetDefault("mempool_wal_dir", rootDir+"/data/mempool.wal")
mapConfig.SetDefault("tx_indexer", "none")
mapConfig.SetDefault("tx_indexer", "kv")
return mapConfig
}


+ 1
- 1
config/tendermint_test/config.go View File

@ -107,7 +107,7 @@ func ResetConfig(localPath string) cfg.Config {
mapConfig.SetDefault("mempool_broadcast", true)
mapConfig.SetDefault("mempool_wal_dir", "")
mapConfig.SetDefault("tx_indexer", "none")
mapConfig.SetDefault("tx_indexer", "kv")
logger.SetLogLevel(mapConfig.GetString("log_level"))


Loading…
Cancel
Save