Skip to content

BEDS 1124/prices#1258

Merged
LuccaBitfly merged 2 commits intostagingfrom
BEDS-1124/prices
Jan 14, 2025
Merged

BEDS 1124/prices#1258
LuccaBitfly merged 2 commits intostagingfrom
BEDS-1124/prices

Conversation

@LuccaBitfly
Copy link
Contributor

  • refactor: generalize util slice dedupe
  • fix: show correct exchange rates for gnosis

Copy link
Contributor

@remoterami remoterami left a comment

Choose a reason for hiding this comment

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

prices more accurate than Binance 👍 Some minor comments, ptal

@LuccaBitfly LuccaBitfly force-pushed the BEDS-1124/prices branch 2 times, most recently from 73a1164 to e5499c1 Compare January 14, 2025 08:57
Copy link
Contributor

@remoterami remoterami left a comment

Choose a reason for hiding this comment

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

lgtm!

Unrelated to your changes, but in addPricePairs (which you merged) I think that pricesCopy doesn't really do anything (bcus maps are ref types in go, can't create a deep copy like that). If you agree you could clean that up, but shouldn't cause any harm if not. See https://github.com/gobitfly/beaconchain/pull/1258/files#diff-b341d664d42e9927a41a4d294042b57ffd5461d62357ed14e6022352b5f840b0R158

@LuccaBitfly LuccaBitfly merged commit 37e0dbf into staging Jan 14, 2025
2 checks passed
@LuccaBitfly LuccaBitfly deleted the BEDS-1124/prices branch January 14, 2025 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants