We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81ce655 commit 621f71eCopy full SHA for 621f71e
pkg/code/currency/usd_market_value.go
@@ -32,6 +32,6 @@ func CalculateUsdMarketValue(ctx context.Context, data code_data.Provider, mint
32
33
quarksPerUnit := common.GetMintQuarksPerUnit(mint)
34
units := float64(quarks) / float64(quarksPerUnit)
35
- marketValue := usdExchangeRecord.Rate * units
+ marketValue := rate * units
36
return marketValue, rate, nil
37
}
0 commit comments