Skip to content

Commit

Permalink
chore: stake factory only if its a new factory
Browse files Browse the repository at this point in the history
  • Loading branch information
howydev committed Feb 1, 2024
1 parent 27afbc3 commit 8146d3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/Deploy.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,11 @@ contract Deploy is Script {
if (expectedFactory != address(0)) {
require(ownerFactoryAddr == expectedFactory, "Factory address mismatch");
}
_addStakeForFactory(ownerFactoryAddr, entryPoint);
console.log("New MultiOwnerModularAccountFactory: ", ownerFactoryAddr);
} else {
console.log("Exist MultiOwnerModularAccountFactory: ", ownerFactoryAddr);
}
_addStakeForFactory(ownerFactoryAddr, entryPoint);

// Deploy SessionKeyPlugin
if (sessionKeyPlugin == address(0)) {
Expand Down

0 comments on commit 8146d3d

Please sign in to comment.