aboutsummaryrefslogtreecommitdiffstats
path: root/node
diff options
context:
space:
mode:
Diffstat (limited to 'node')
-rw-r--r--node/config.go19
1 files changed, 1 insertions, 18 deletions
diff --git a/node/config.go b/node/config.go
index 47ecd22a3..c09f51747 100644
--- a/node/config.go
+++ b/node/config.go
@@ -446,22 +446,5 @@ func makeAccountManager(conf *Config) (*accounts.Manager, string, error) {
} else {
backends = append(backends, ledgerhub)
}
- am := accounts.NewManager(backends...)
-
- // Start some logging for the user
- changes := make(chan accounts.WalletEvent, 16)
- am.Subscribe(changes)
- go func() {
- for event := range changes {
- if event.Arrive {
- glog.V(logger.Info).Infof("New wallet appeared: %s", event.Wallet.URL())
- if err := event.Wallet.Open(""); err != nil {
- glog.V(logger.Warn).Infof("Failed to open wallet %s: %v", event.Wallet.URL(), err)
- }
- } else {
- glog.V(logger.Info).Infof("Old wallet disappeared: %s", event.Wallet.URL())
- }
- }
- }()
- return am, ephemeral, nil
+ return accounts.NewManager(backends...), ephemeral, nil
}