mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 09:23:48 +00:00
accounts/keystore: fix find/replace typo
This commit is contained in:
parent
aa798d6c94
commit
7b7f81bc78
1 changed files with 2 additions and 2 deletions
|
|
@ -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{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue