Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
goran-ethernal committed Jun 16, 2023
1 parent e6479e3 commit 6ceee16
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion jsonrpc/eth_endpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -795,5 +795,10 @@ func (e *Eth) Unsubscribe(id string) (bool, error) {

// MaxPriorityFeePerGas calculates the priority fee needed for transaction to be included in a block
func (e *Eth) MaxPriorityFeePerGas() (interface{}, error) {
return e.store.MaxPriorityFeePerGas()
priorityFee, err := e.store.MaxPriorityFeePerGas()
if err != nil {
return nil, err
}

return argBigPtr(priorityFee), nil
}

0 comments on commit 6ceee16

Please sign in to comment.