Use temporary dir for lcd keybase tests (closes #646)

This commit is contained in:
Christopher Goes
2018-03-29 12:04:52 +02:00
parent bb66b852ef
commit 44de18e8da
+1 -1
View File
@@ -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