pass Salt explicitly in test
This commit is contained in:
parent
4fabcca216
commit
01b18036fe
|
@ -30,7 +30,7 @@ func TestNewMnemonic(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestMnemonic_WordList(t *testing.T) {
|
||||
m := NewMnemonic("")
|
||||
m := NewMnemonic(Salt)
|
||||
_, err := m.WordList(EnglishLanguage)
|
||||
if err != nil {
|
||||
t.Errorf("expected WordList to return WordList without errors, got: %s", err)
|
||||
|
|
Loading…
Reference in New Issue