Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Majorfi committed Jun 19, 2023
1 parent d2f1e88 commit 9afa4a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/prices/accessor.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func MapPrices(chainID uint64) map[common.Address]*bigNumber.Int {
syncMap := initOrGetPriceMap(chainID)
prices := make(map[common.Address]*bigNumber.Int)
syncMap.Range(func(key, price interface{}) bool {
prices[key.(common.Address)] = price.(*bigNumber.Int)
prices[common.HexToAddress(key.(string))] = price.(*bigNumber.Int)
return true
})
return prices
Expand Down

1 comment on commit 9afa4a2

@vercel
Copy link

@vercel vercel bot commented on 9afa4a2 Jun 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ydaemon – ./docs

ydaemon-git-main.yearn.farm
ydaemon.yearn.farm

Please sign in to comment.