mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-25 21:17:16 +00:00
internal/ethapi: fix typo in comment (#15659)
This commit is contained in:
parent
32516c768e
commit
bbea4b2b53
@ -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…
Reference in New Issue
Block a user