diff options
author | yoza <yoza.is12s@gmail.com> | 2017-12-13 01:55:39 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2017-12-13 01:55:39 +0800 |
commit | bbea4b2b53be53fc07b620c426bda80732a8814b (patch) | |
tree | 910a4db99f31813acb5c7d45929e9095ca65ee5a /internal/ethapi | |
parent | 32516c768ec09e2a71cab5983d2c8b8ae5d92fc7 (diff) | |
download | dexon-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.go | 2 |
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)) |