Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-zaremba committed Sep 15, 2023
1 parent f827c61 commit 5c4441f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions x/leverage/keeper/oracle.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ func (k Keeper) TokenPrice(ctx sdk.Context, baseDenom string, mode types.PriceMo
}
}

// TODO: need to use spotPrice.Timestamp to make a decision about the price

switch mode {
case types.PriceModeSpot:
price = spotPrice.Rate
Expand Down

0 comments on commit 5c4441f

Please sign in to comment.