internal/ethapi: fix typo in comment (#15659)

pull/15661/head
yoza 7 years ago committed by Felix Lange
parent 32516c768e
commit bbea4b2b53
  1. 2
      internal/ethapi/api.go

@ -1071,7 +1071,7 @@ type SendTxArgs struct {
Nonce *hexutil.Uint64 `json:"nonce"` 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 { func (args *SendTxArgs) setDefaults(ctx context.Context, b Backend) error {
if args.Gas == nil { if args.Gas == nil {
args.Gas = (*hexutil.Big)(big.NewInt(defaultGas)) args.Gas = (*hexutil.Big)(big.NewInt(defaultGas))

Loading…
Cancel
Save