aboutsummaryrefslogtreecommitdiffstats
path: root/internal/ethapi/api.go
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/api.go
parent32516c768ec09e2a71cab5983d2c8b8ae5d92fc7 (diff)
downloadgo-tangerine-bbea4b2b53be53fc07b620c426bda80732a8814b.tar
go-tangerine-bbea4b2b53be53fc07b620c426bda80732a8814b.tar.gz
go-tangerine-bbea4b2b53be53fc07b620c426bda80732a8814b.tar.bz2
go-tangerine-bbea4b2b53be53fc07b620c426bda80732a8814b.tar.lz
go-tangerine-bbea4b2b53be53fc07b620c426bda80732a8814b.tar.xz
go-tangerine-bbea4b2b53be53fc07b620c426bda80732a8814b.tar.zst
go-tangerine-bbea4b2b53be53fc07b620c426bda80732a8814b.zip
internal/ethapi: fix typo in comment (#15659)
Diffstat (limited to 'internal/ethapi/api.go')
-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))