Skip to content

Commit

Permalink
Remove onlyOwner check (now called by the system HybridAccount).
Browse files Browse the repository at this point in the history
 Changes to be committed:
	modified:   contracts/core/HCHelper.sol
  • Loading branch information
mmontour1306 committed May 20, 2024
1 parent 3e7f329 commit 35c556c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/core/HCHelper.sol
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ contract HCHelper {
}

// Remove one or more map entries (only needed if response was not retrieved normally).
function RemoveResponse(bytes32[] calldata mapKeys) public {
require(msg.sender == owner, "Only owner");
function RemoveResponses(bytes32[] calldata mapKeys) public {
//require(msg.sender == owner, "Only owner");
for (uint32 i = 0; i < mapKeys.length; i++) {
delete(ResponseCache[mapKeys[i]]);
}
Expand Down

0 comments on commit 35c556c

Please sign in to comment.