aboutsummaryrefslogtreecommitdiffstats
path: root/internal
diff options
context:
space:
mode:
authorKenso Trabing <ktrabing@acm.org>2018-11-15 17:11:14 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-11-15 17:11:14 +0800
commit14346e4ef97ca812fb9f1d5d2cd87021c0155cf6 (patch)
tree9324b08a90ea1320f40d916fce63f2a501c2c8a6 /internal
parentb8a2ac3fcf4c8249bd997969821feb4f9d0a428a (diff)
downloaddexon-14346e4ef97ca812fb9f1d5d2cd87021c0155cf6.tar
dexon-14346e4ef97ca812fb9f1d5d2cd87021c0155cf6.tar.gz
dexon-14346e4ef97ca812fb9f1d5d2cd87021c0155cf6.tar.bz2
dexon-14346e4ef97ca812fb9f1d5d2cd87021c0155cf6.tar.lz
dexon-14346e4ef97ca812fb9f1d5d2cd87021c0155cf6.tar.xz
dexon-14346e4ef97ca812fb9f1d5d2cd87021c0155cf6.tar.zst
dexon-14346e4ef97ca812fb9f1d5d2cd87021c0155cf6.zip
internal: fix typo in comments (#18106)
Changed "signTransactions" to "signTransaction"
Diffstat (limited to 'internal')
-rw-r--r--internal/ethapi/api.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go
index 0c751c328..43a33e992 100644
--- a/internal/ethapi/api.go
+++ b/internal/ethapi/api.go
@@ -339,7 +339,7 @@ func (s *PrivateAccountAPI) LockAccount(addr common.Address) bool {
return fetchKeystore(s.am).Lock(addr) == nil
}
-// signTransactions sets defaults and signs the given transaction
+// signTransaction sets defaults and signs the given transaction
// NOTE: the caller needs to ensure that the nonceLock is held, if applicable,
// and release it after the transaction has been submitted to the tx pool
func (s *PrivateAccountAPI) signTransaction(ctx context.Context, args *SendTxArgs, passwd string) (*types.Transaction, error) {