Skip to content
This repository was archived by the owner on May 11, 2024. It is now read-only.

Commit 4d13ff7

Browse files
committed
update gastipcap
1 parent 3c5a531 commit 4d13ff7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

internal/sender/sender.go

+6
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,12 @@ func (s *Sender) SendTransaction(tx *types.Transaction) (string, error) {
168168
if s.unconfirmedTxs.Count() >= 100 {
169169
return "", fmt.Errorf("too many pending transactions")
170170
}
171+
172+
// Update the gas tip and gas fee.
173+
if err := s.updateGasTipGasFee(s.header); err != nil {
174+
return "", err
175+
}
176+
171177
txData, err := s.makeTxData(tx)
172178
if err != nil {
173179
return "", err

0 commit comments

Comments
 (0)