From bbea4b2b53be53fc07b620c426bda80732a8814b Mon Sep 17 00:00:00 2001
From: yoza <yoza.is12s@gmail.com>
Date: Wed, 13 Dec 2017 02:55:39 +0900
Subject: [PATCH] internal/ethapi: fix typo in comment (#15659)

---
 internal/ethapi/api.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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))
-- 
GitLab