Skip to content

Commit

Permalink
add default param for PriceFeedReader (#592)
Browse files Browse the repository at this point in the history
sunspirit99 authored Dec 4, 2024
1 parent 315bb8c commit 5f4d261
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/source/gmx/price_feed_reader.go
Original file line number Diff line number Diff line change
@@ -23,7 +23,8 @@ type PriceFeedReader struct {

func NewPriceFeedReader(ethrpcClient *ethrpc.Client) *PriceFeedReader {
return NewPriceFeedReaderWithParam(ethrpcClient, Param{
ABI: priceFeedABI,
UseLegacyMethod: true,
ABI: priceFeedABI,
})
}

0 comments on commit 5f4d261

Please sign in to comment.