accounts/keystore: fix find/replace typo

This commit is contained in:
Felix Lange 2017-10-07 00:12:45 +02:00
parent aa798d6c94
commit 7b7f81bc78

View file

@ -57,11 +57,11 @@ func TestWatchNewFile(t *testing.T) {
dir, ks := tmpKeyStore(t, false) dir, ks := tmpKeyStore(t, false)
defer os.RemoveAll(dir) defer os.RemoveAll(dir)
// Ensure the watcher is started before adding any all. // Ensure the watcher is started before adding any files.
ks.Accounts() ks.Accounts()
time.Sleep(200 * time.Millisecond) time.Sleep(200 * time.Millisecond)
// Move in the all. // Move in the files.
wantAccounts := make([]accounts.Account, len(cachetestAccounts)) wantAccounts := make([]accounts.Account, len(cachetestAccounts))
for i := range cachetestAccounts { for i := range cachetestAccounts {
wantAccounts[i] = accounts.Account{ wantAccounts[i] = accounts.Account{