diff options
author | Guillaume Ballet <gballet@gmail.com> | 2019-02-19 16:33:42 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2019-02-19 16:33:42 +0800 |
commit | 9c7e65c435454826754325947004fb320e2066d8 (patch) | |
tree | 513c08788db996643352a16046729b2860d010f1 /accounts/accounts.go | |
parent | d88c6ce6b058ccd04b03d079d486b1d55fe5ef61 (diff) | |
download | go-tangerine-9c7e65c435454826754325947004fb320e2066d8.tar go-tangerine-9c7e65c435454826754325947004fb320e2066d8.tar.gz go-tangerine-9c7e65c435454826754325947004fb320e2066d8.tar.bz2 go-tangerine-9c7e65c435454826754325947004fb320e2066d8.tar.lz go-tangerine-9c7e65c435454826754325947004fb320e2066d8.tar.xz go-tangerine-9c7e65c435454826754325947004fb320e2066d8.tar.zst go-tangerine-9c7e65c435454826754325947004fb320e2066d8.zip |
accounts: fix typos from the `SignData` merge (#19119)
Diffstat (limited to 'accounts/accounts.go')
-rw-r--r-- | accounts/accounts.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/accounts/accounts.go b/accounts/accounts.go index b57f282b3..a52aa425c 100644 --- a/accounts/accounts.go +++ b/accounts/accounts.go @@ -104,7 +104,7 @@ type Wallet interface { // a password to decrypt the account, or a PIN code o verify the transaction), // an AuthNeededError instance will be returned, containing infos for the user // about which fields or actions are needed. The user may retry by providing - // the needed details via SignHashWithPassphrase, or by other means (e.g. unlock + // the needed details via SignDataWithPassphrase, or by other means (e.g. unlock // the account in a keystore). SignData(account Account, mimeType string, data []byte) ([]byte, error) @@ -114,7 +114,7 @@ type Wallet interface { // should never echo the mimetype or return the mimetype in the error-response SignDataWithPassphrase(account Account, passphrase, mimeType string, data []byte) ([]byte, error) - // Signtext requests the wallet to sign the hash of a given piece of data, prefixed + // SignText requests the wallet to sign the hash of a given piece of data, prefixed // by the Ethereum prefix scheme // It looks up the account specified either solely via its address contained within, // or optionally with the aid of any location metadata from the embedded URL field. |