aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/keystore
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2019-04-10 18:09:08 +0800
committerPéter Szilágyi <peterke@gmail.com>2019-04-10 18:09:08 +0800
commitae7344d7999723cfef99fd0e01acd12e20cd5a85 (patch)
tree18396adfbbe92a26e202965c2d8f2699757bdeff /accounts/keystore
parent8cf764da896d77ca2dc2181b24ea52839645185f (diff)
downloadgo-tangerine-ae7344d7999723cfef99fd0e01acd12e20cd5a85.tar
go-tangerine-ae7344d7999723cfef99fd0e01acd12e20cd5a85.tar.gz
go-tangerine-ae7344d7999723cfef99fd0e01acd12e20cd5a85.tar.bz2
go-tangerine-ae7344d7999723cfef99fd0e01acd12e20cd5a85.tar.lz
go-tangerine-ae7344d7999723cfef99fd0e01acd12e20cd5a85.tar.xz
go-tangerine-ae7344d7999723cfef99fd0e01acd12e20cd5a85.tar.zst
go-tangerine-ae7344d7999723cfef99fd0e01acd12e20cd5a85.zip
accounts: switch Ledger derivation path to canonical one
Diffstat (limited to 'accounts/keystore')
-rw-r--r--accounts/keystore/wallet.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/accounts/keystore/wallet.go b/accounts/keystore/wallet.go
index 1b36b6dff..498067d49 100644
--- a/accounts/keystore/wallet.go
+++ b/accounts/keystore/wallet.go
@@ -77,7 +77,8 @@ func (w *keystoreWallet) Derive(path accounts.DerivationPath, pin bool) (account
// SelfDerive implements accounts.Wallet, but is a noop for plain wallets since
// there is no notion of hierarchical account derivation for plain keystore accounts.
-func (w *keystoreWallet) SelfDerive(base accounts.DerivationPath, chain ethereum.ChainStateReader) {}
+func (w *keystoreWallet) SelfDerive(bases []accounts.DerivationPath, chain ethereum.ChainStateReader) {
+}
// signHash attempts to sign the given hash with
// the given account. If the wallet does not wrap this particular account, an