Skip to content

Commit

Permalink
fix_: suggested fees crash caused by null GasPrice
Browse files Browse the repository at this point in the history
  • Loading branch information
clauxx committed Jan 23, 2025
1 parent 3e0b1b2 commit 905dfac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions services/wallet/router/fees/fees.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ func (f *FeeManager) SuggestedFees(ctx context.Context, chainID uint64) (*Sugges
}

return &SuggestedFees{
GasPrice: big.NewInt(0),
BaseFee: baseFee,
CurrentBaseFee: baseFee,
MaxPriorityFeePerGas: maxPriorityFeePerGas,
Expand Down

0 comments on commit 905dfac

Please sign in to comment.