diff options
author | Kenso Trabing <ktrabing@acm.org> | 2018-11-15 17:11:14 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-11-15 17:11:14 +0800 |
commit | 14346e4ef97ca812fb9f1d5d2cd87021c0155cf6 (patch) | |
tree | 9324b08a90ea1320f40d916fce63f2a501c2c8a6 /internal/ethapi/api.go | |
parent | b8a2ac3fcf4c8249bd997969821feb4f9d0a428a (diff) | |
download | dexon-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/ethapi/api.go')
-rw-r--r-- | internal/ethapi/api.go | 2 |
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) { |