accounts: fix typos from the SignData merge (#19119)

This commit is contained in:
Guillaume Ballet
2019-02-19 09:33:42 +01:00
committed by Péter Szilágyi
parent d88c6ce6b0
commit 9c7e65c435
2 changed files with 3 additions and 3 deletions

View File

@ -111,7 +111,7 @@ func (w *keystoreWallet) SignText(account accounts.Account, text []byte) ([]byte
return w.signHash(account, accounts.TextHash(text))
}
// SignHashWithPassphrase implements accounts.Wallet, attempting to sign the
// SignTextWithPassphrase implements accounts.Wallet, attempting to sign the
// given hash with the given account using passphrase as extra authentication.
func (w *keystoreWallet) SignTextWithPassphrase(account accounts.Account, passphrase string, text []byte) ([]byte, error) {
// Make sure the requested account is contained within