|
|
@@ -336,7 +336,9 @@ func TestWalletNotifications(t *testing.T) {
|
|
|
|
|
|
// Shut down the event collector and check events.
|
|
|
sub.Unsubscribe()
|
|
|
- <-updates
|
|
|
+ for ev := range updates {
|
|
|
+ events = append(events, walletEvent{ev, ev.Wallet.Accounts()[0]})
|
|
|
+ }
|
|
|
checkAccounts(t, live, ks.Wallets())
|
|
|
checkEvents(t, wantEvents, events)
|
|
|
}
|