aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/usbwallet/ledger_hub.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-02-28 19:35:17 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-02-28 21:03:20 +0800
commite588e0ca2b3b615af0ecfd5679c42df8f1cc4272 (patch)
treec37e95792ed9f17209b7de26a5d6047ac915db2a /accounts/usbwallet/ledger_hub.go
parentd4f60d362b8fcf82db1accf89c146a2a71375841 (diff)
downloaddexon-e588e0ca2b3b615af0ecfd5679c42df8f1cc4272.tar
dexon-e588e0ca2b3b615af0ecfd5679c42df8f1cc4272.tar.gz
dexon-e588e0ca2b3b615af0ecfd5679c42df8f1cc4272.tar.bz2
dexon-e588e0ca2b3b615af0ecfd5679c42df8f1cc4272.tar.lz
dexon-e588e0ca2b3b615af0ecfd5679c42df8f1cc4272.tar.xz
dexon-e588e0ca2b3b615af0ecfd5679c42df8f1cc4272.tar.zst
dexon-e588e0ca2b3b615af0ecfd5679c42df8f1cc4272.zip
all: next batch of log polishes to contextual versions
Diffstat (limited to 'accounts/usbwallet/ledger_hub.go')
-rw-r--r--accounts/usbwallet/ledger_hub.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/accounts/usbwallet/ledger_hub.go b/accounts/usbwallet/ledger_hub.go
index d1aeed748..db874f4cc 100644
--- a/accounts/usbwallet/ledger_hub.go
+++ b/accounts/usbwallet/ledger_hub.go
@@ -121,7 +121,7 @@ func (hub *LedgerHub) refreshWallets() {
}
// If there are no more wallets or the device is before the next, wrap new wallet
if len(hub.wallets) == 0 || hub.wallets[0].URL().Cmp(url) > 0 {
- wallet := &ledgerWallet{url: &url, info: ledger, logger: log.New("url", url)}
+ wallet := &ledgerWallet{url: &url, info: ledger, log: log.New("url", url)}
events = append(events, accounts.WalletEvent{Wallet: wallet, Arrive: true})
wallets = append(wallets, wallet)