Skip to content

Commit

Permalink
chore: remove helper function
Browse files Browse the repository at this point in the history
  • Loading branch information
scolear committed Nov 18, 2024
1 parent 17479c3 commit 852a7e6
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions contracts/DLCManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -735,13 +735,4 @@ contract DLCManager is
dlcBTCPoRFeed = feed;
emit SetDlcBTCPoRFeed(feed);
}

function verifyTotalValueMinted() external view onlyAdmin returns (bool) {
uint256 calculatedTotal = 0;
for (uint256 i = 0; i < _index; i++) {
calculatedTotal += dlcs[i].valueMinted;
}

return calculatedTotal == _totalValueMinted;
}
}

0 comments on commit 852a7e6

Please sign in to comment.