no more signHash

This commit is contained in:
Guillaume Ballet 2019-07-19 08:45:00 +02:00
parent dcc951b4bc
commit 871984fa70

View file

@ -515,7 +515,7 @@ func (w *wallet) SelfDerive(bases []accounts.DerivationPath, chain ethereum.Chai
w.deriveChain = chain
}
// signHash implements accounts.Wallet, however signing arbitrary data is not
// signData implements accounts.Wallet, however signing arbitrary data is not
// supported for hardware wallets, so this method will always return an error.
func (w *wallet) signData(account accounts.Account, data []byte) ([]byte, error) {
w.stateLock.RLock() // Comms have their own mutex