diff --git a/accounts/abi/bind/auth.go b/accounts/abi/bind/auth.go index b661a29f4d..5949fed395 100644 --- a/accounts/abi/bind/auth.go +++ b/accounts/abi/bind/auth.go @@ -53,9 +53,9 @@ func NewTransactor(keyin io.Reader, passphrase string) (*TransactOpts, error) { return NewKeyedTransactor(key.PrivateKey), nil } -// NewTransactor is a utility method to easily create a transaction signer from +// NewKeystoreTransactor is a utility method to easily create a transaction signer from // an decrypted key from a keystore -func NewTransactorFromKeyStore(keystore *keystore.KeyStore, account accounts.Account) (*TransactOpts, error) { +func NewKeyStoreTransactor(keystore *keystore.KeyStore, account accounts.Account) (*TransactOpts, error) { signer := types.HomesteadSigner{} return &TransactOpts{ From: account.Address,