From 5f46edc55cb923c16e81aecc9a978d81523d35a5 Mon Sep 17 00:00:00 2001 From: Guillaume Ballet Date: Thu, 11 Jul 2019 12:54:22 +0200 Subject: [PATCH] signer/core: fix reference issue in key derivation --- accounts/usbwallet/wallet.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accounts/usbwallet/wallet.go b/accounts/usbwallet/wallet.go index ed786d9b42..8583129d55 100644 --- a/accounts/usbwallet/wallet.go +++ b/accounts/usbwallet/wallet.go @@ -479,7 +479,7 @@ func (w *wallet) Derive(path accounts.DerivationPath, pin bool) (accounts.Accoun if _, ok := w.paths[address]; !ok { w.accounts = append(w.accounts, account) - w.paths[address] = path + copy(w.paths[address], path) } return account, nil }