From b3f7609d7d887657af3c06e9ac74e38276e7fe87 Mon Sep 17 00:00:00 2001 From: Marius van der Wijden Date: Wed, 12 Jun 2019 13:06:37 +0200 Subject: [PATCH] accounts/abi/bind: rename NewKeystoreTransactor (#19703) renamed NewKeyStoreFromTransactor to NewKeystoreTransactor fixed godoc --- accounts/abi/bind/auth.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/accounts/abi/bind/auth.go b/accounts/abi/bind/auth.go index ad482abc0..5d5ad0034 100644 --- a/accounts/abi/bind/auth.go +++ b/accounts/abi/bind/auth.go @@ -43,9 +43,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) { return &TransactOpts{ From: account.Address, Signer: func(signer types.Signer, address common.Address, tx *types.Transaction) (*types.Transaction, error) {