Skip to content

Commit

Permalink
Update forward.v3.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Majorfi committed Nov 22, 2023
1 parent 396483b commit f3cb5c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion processes/apr/forward.v3.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func computeVaultV3ForwardAPR(
** the vault as expected APR
**********************************************************************************************/
if vault.Kind == models.VaultKindSingle {
expected, err := oracle.GetExpectedApr(nil, vault.Address, big.NewInt(0))
expected, err := oracle.GetStrategyApr(nil, vault.Address, big.NewInt(0))
if err == nil {
netAPR = helpers.ToNormalizedAmount(bigNumber.SetInt(expected), 18)
}
Expand Down

0 comments on commit f3cb5c7

Please sign in to comment.