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
1 changed files with 1 additions and 1 deletions

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)