[#1946] cli/internal: Fix test by wallet non-closing

Signed-off-by: Leonard Lyubich <ctulhurider@gmail.com>
This commit is contained in:
Leonard Lyubich 2022-10-21 12:17:57 +04:00 committed by fyrchik
parent 810087d8b9
commit 217b030d20

View file

@ -37,7 +37,6 @@ func Test_getOrGenerate(t *testing.T) {
acc2.Default = true acc2.Default = true
w.AddAccount(acc2) w.AddAccount(acc2)
require.NoError(t, w.Save()) require.NoError(t, w.Save())
w.Close()
keyPath := filepath.Join(dir, "binary.key") keyPath := filepath.Join(dir, "binary.key")
rawKey, err := keys.NewPrivateKey() rawKey, err := keys.NewPrivateKey()