diff --git a/contracts/samples/VerifyingPaymaster.sol b/contracts/samples/VerifyingPaymaster.sol index 882f80df..e198c95b 100644 --- a/contracts/samples/VerifyingPaymaster.sol +++ b/contracts/samples/VerifyingPaymaster.sol @@ -29,9 +29,11 @@ contract VerifyingPaymaster is BasePaymaster { constructor( IEntryPoint _entryPoint, - address _verifyingSigner + address _verifyingSigner, + address _owner ) BasePaymaster(_entryPoint) { verifyingSigner = _verifyingSigner; + _transferOwnership(_owner); } mapping(address => uint256) public senderNonce; diff --git a/contracts/test/TestVerifyingPaymaster.sol b/contracts/test/TestVerifyingPaymaster.sol index 4e2de937..5db2afd2 100644 --- a/contracts/test/TestVerifyingPaymaster.sol +++ b/contracts/test/TestVerifyingPaymaster.sol @@ -7,7 +7,7 @@ contract TestVerifyingPaymaster is VerifyingPaymaster { constructor( IEntryPoint entryPoint, address verifyingSigner - ) VerifyingPaymaster(entryPoint, verifyingSigner) { + ) VerifyingPaymaster(entryPoint, verifyingSigner, msg.sender) { return; }