Skip to content

Commit

Permalink
return correct indices
Browse files Browse the repository at this point in the history
  • Loading branch information
scott-silver committed Apr 20, 2022
1 parent 715afa8 commit 7be8007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/Comet.sol
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ contract Comet is CometCore {
baseSupplyIndex_ += safe64(mulFactor(baseSupplyIndex_, supplyRate * timeElapsed));
baseBorrowIndex_ += safe64(mulFactor(baseBorrowIndex_, borrowRate * timeElapsed));
}
return (baseSupplyIndex, baseBorrowIndex);
return (baseSupplyIndex_, baseBorrowIndex_);
}

/**
Expand Down

0 comments on commit 7be8007

Please sign in to comment.