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

This commit is contained in:
yoza 2017-12-13 02:55:39 +09:00 committed by Felix Lange
parent 32516c768e
commit bbea4b2b53

View File

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