Skip to content

Commit 99cd68b

Browse files
authored
Merge pull request #11 from pimlicolabs/fix/binary-search
fix
2 parents 0af6f7d + f10c083 commit 99cd68b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/v07/EntryPoint.sol

+5-1
Original file line numberDiff line numberDiff line change
@@ -564,8 +564,12 @@ contract EntryPoint is IEntryPoint, StakeManager, NonceManager, ReentrancyGuard
564564
public
565565
returns (uint256 validationData, uint256 paymasterValidationData, uint256 paymasterVerificationGasLimit)
566566
{
567-
MemoryUserOp memory mUserOp = outOpInfo.mUserOp;
568567
bytes memory context;
568+
569+
MemoryUserOp memory mUserOp = outOpInfo.mUserOp;
570+
_copyUserOpToMemory(userOp, mUserOp);
571+
outOpInfo.userOpHash = getUserOpHash(userOp);
572+
569573
uint256 requiredPreFund = _getRequiredPrefund(mUserOp);
570574
if (mUserOp.paymaster != address(0)) {
571575
(context, paymasterValidationData) =

0 commit comments

Comments
 (0)