aboutsummaryrefslogtreecommitdiffstats
path: root/internal/ethapi
diff options
context:
space:
mode:
authoryoza <yoza.is12s@gmail.com>2017-12-13 01:55:39 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-12-13 01:55:39 +0800
commitbbea4b2b53be53fc07b620c426bda80732a8814b (patch)
tree910a4db99f31813acb5c7d45929e9095ca65ee5a /internal/ethapi
parent32516c768ec09e2a71cab5983d2c8b8ae5d92fc7 (diff)
downloaddexon-bbea4b2b53be53fc07b620c426bda80732a8814b.tar
dexon-bbea4b2b53be53fc07b620c426bda80732a8814b.tar.gz
dexon-bbea4b2b53be53fc07b620c426bda80732a8814b.tar.bz2
dexon-bbea4b2b53be53fc07b620c426bda80732a8814b.tar.lz
dexon-bbea4b2b53be53fc07b620c426bda80732a8814b.tar.xz
dexon-bbea4b2b53be53fc07b620c426bda80732a8814b.tar.zst
dexon-bbea4b2b53be53fc07b620c426bda80732a8814b.zip
internal/ethapi: fix typo in comment (#15659)
Diffstat (limited to 'internal/ethapi')
-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 025f42617..fe0ed8170 100644
--- a/internal/ethapi/api.go
+++ b/internal/ethapi/api.go
@@ -1071,7 +1071,7 @@ type SendTxArgs struct {
Nonce *hexutil.Uint64 `json:"nonce"`
}
-// prepareSendTxArgs is a helper function that fills in default values for unspecified tx fields.
+// setDefaults is a helper function that fills in default values for unspecified tx fields.
func (args *SendTxArgs) setDefaults(ctx context.Context, b Backend) error {
if args.Gas == nil {
args.Gas = (*hexutil.Big)(big.NewInt(defaultGas))