Skip to content

Commit

Permalink
Fix typo in comment (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
ptare authored and mrice32 committed Jan 2, 2019
1 parent 0a10ad8 commit 905abc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/OracleMock.sol
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ contract OracleMock is OracleInterface, Ownable {

// Returns the most recent price-time pair for a particular feed.
function _mostRecentPriceTime(FeedInfo storage feedInfo) private view returns (uint publishTime, int256 price) {
// Note: if `latestPublushTime` is still 0 (no prices have been written to this feed), then `price` will be 0
// Note: if `latestPublishTime` is still 0 (no prices have been written to this feed), then `price` will be 0
// (the default value for mapped values).
return (feedInfo.latestPublishTime, feedInfo.prices[feedInfo.latestPublishTime]);
}
Expand Down

0 comments on commit 905abc7

Please sign in to comment.