From 78971b14d571785e45bc42a7f7c535bb9955ca08 Mon Sep 17 00:00:00 2001 From: y0za Date: Tue, 12 Dec 2017 20:22:15 +0900 Subject: [PATCH] internal/ethapi: fix wrong comment --- 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 025f426177..fe0ed81707 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))