good morning!!!!

Skip to content
Snippets Groups Projects
Commit b3f7609d authored by Marius van der Wijden's avatar Marius van der Wijden Committed by Péter Szilágyi
Browse files

accounts/abi/bind: rename NewKeystoreTransactor (#19703)

renamed NewKeyStoreFromTransactor to NewKeystoreTransactor
fixed godoc
parent 32dafea1
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment