mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 01:13:45 +00:00
accounts/keystore: Modify wallet notification test, increase channel buffer
This commit is contained in:
parent
e4ae060842
commit
02700df5f6
1 changed files with 1 additions and 1 deletions
|
|
@ -280,7 +280,7 @@ func TestWalletNotifications(t *testing.T) {
|
||||||
defer os.RemoveAll(dir)
|
defer os.RemoveAll(dir)
|
||||||
|
|
||||||
// Subscribe to the wallet feed
|
// Subscribe to the wallet feed
|
||||||
updates := make(chan accounts.WalletEvent, 1)
|
updates := make(chan accounts.WalletEvent, 100)
|
||||||
sub := ks.Subscribe(updates)
|
sub := ks.Subscribe(updates)
|
||||||
defer sub.Unsubscribe()
|
defer sub.Unsubscribe()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue