Make resetSpentToday and setDailyLimit internal functions

This commit is contained in:
Arseniy Klempner
2016-12-26 13:59:21 -08:00
parent 36fa2a72cf
commit a5602e7e7b
3 changed files with 12 additions and 4 deletions

View File

@ -39,12 +39,12 @@ contract DayLimit {
// METHODS
// (re)sets the daily limit. doesn't alter the amount already spent today.
function setDailyLimit(uint _newLimit) external {
function _setDailyLimit(uint _newLimit) internal {
dailyLimit = _newLimit;
}
// resets the amount already spent today.
function resetSpentToday() external {
function _resetSpentToday() internal {
spentToday = 0;
}