tendermint/rpc/test/config.go

14 lines
181 B
Go
Raw Normal View History

2016-01-10 13:33:52 -08:00
package rpctest
import (
cfg "github.com/tendermint/go-config"
2016-01-10 13:33:52 -08:00
)
var config cfg.Config = nil
func init() {
2016-01-10 13:33:52 -08:00
cfg.OnConfig(func(newConfig cfg.Config) {
config = newConfig
})
}