Use temporary dir for lcd keybase tests (closes #646)
This commit is contained in:
parent
bb66b852ef
commit
44de18e8da
@ -295,7 +295,7 @@ func TestTxs(t *testing.T) {
|
||||
// strt TM and the LCD in process, listening on their respective sockets
|
||||
func startTMAndLCD() (*nm.Node, net.Listener, error) {
|
||||
|
||||
viper.Set(cli.HomeFlag, os.ExpandEnv("$HOME"))
|
||||
viper.Set(cli.HomeFlag, os.ExpandEnv("/tmp/$HOME"))
|
||||
kb, err := keys.GetKeyBase() // dbm.NewMemDB()) // :(
|
||||
if err != nil {
|
||||
return nil, nil, err
|
||||
|
||||
Loading…
Reference in New Issue
Block a user