diff options
Diffstat (limited to 'mobile/accounts.go')
-rw-r--r-- | mobile/accounts.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mobile/accounts.go b/mobile/accounts.go index 90f664d29..47c3a5c21 100644 --- a/mobile/accounts.go +++ b/mobile/accounts.go @@ -115,10 +115,10 @@ func (am *AccountManager) Sign(address *Address, hash []byte) (signature []byte, return am.manager.Sign(address.address, hash) } -// SignWithPassphrase signs hash if the private key matching the given address -// can be decrypted with the given passphrase. The produced signature is in the +// SignPassphrase signs hash if the private key matching the given address can +// be decrypted with the given passphrase. The produced signature is in the // [R || S || V] format where V is 0 or 1. -func (am *AccountManager) SignWithPassphrase(account *Account, passphrase string, hash []byte) (signature []byte, _ error) { +func (am *AccountManager) SignPassphrase(account *Account, passphrase string, hash []byte) (signature []byte, _ error) { return am.manager.SignWithPassphrase(account.account, passphrase, hash) } |