Skip to content

Commit

Permalink
Merge branch 'bounty_module_pagination' of https://github.com/safe-gl…
Browse files Browse the repository at this point in the history
…obal/safe-contracts into bounty_module_pagination
  • Loading branch information
mmv08 committed Dec 24, 2022
2 parents 78dadea + 743af7f commit 68ab14a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion contracts/base/ModuleManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ contract ModuleManager is SelfAuthorized, Executor {
// Populate return array
uint256 moduleCount = 0;
address currentModule = modules[start];

while (currentModule != address(0x0) && currentModule != SENTINEL_MODULES && moduleCount < pageSize) {
array[moduleCount] = currentModule;
next = currentModule;
Expand Down

0 comments on commit 68ab14a

Please sign in to comment.