Skip to content

Commit

Permalink
Merge 46f13e5 into 340856f
Browse files Browse the repository at this point in the history
  • Loading branch information
fforbeck authored Mar 16, 2022
2 parents 340856f + 46f13e5 commit e592453
Show file tree
Hide file tree
Showing 4 changed files with 624 additions and 141 deletions.
5 changes: 2 additions & 3 deletions contracts/core/DaoRegistry.sol
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ contract DaoRegistry is MemberGuard, AdapterGuard {
require(extensionId != bytes32(0), "extension id must not be empty");
require(
extensions[extensionId] == address(0x0),
"extension Id already in use"
"extensionId already in use"
);
require(
!inverseExtensions[address(extension)].deleted,
Expand All @@ -393,7 +393,6 @@ contract DaoRegistry is MemberGuard, AdapterGuard {
ExtensionEntry storage extEntry = inverseExtensions[extensionAddress];
extEntry.deleted = true;
//slither-disable-next-line mapping-deletion
delete inverseExtensions[extensionAddress];
delete extensions[extensionId];
emit ExtensionRemoved(extensionId);
}
Expand Down Expand Up @@ -516,7 +515,7 @@ contract DaoRegistry is MemberGuard, AdapterGuard {

require(
proposal.adapterAddress == msg.sender,
"only the adapter that submitted the proposal can process it"
"only the adapter that submitted the proposal can sponsor it"
);

require(
Expand Down
File renamed without changes.
Loading

0 comments on commit e592453

Please sign in to comment.