pass Salt explicitly in test

This commit is contained in:
Andrea Franz 2018-03-15 00:24:26 +01:00
parent 4fabcca216
commit 01b18036fe
No known key found for this signature in database
GPG key ID: 4F0D2F2D9DE7F29D

View file

@ -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)