Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
Filipp Makarov authored and Filipp Makarov committed Jan 15, 2024
1 parent f657505 commit 020f896
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions contracts/smart-account/modules/AccountRecoveryModule.sol
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ import {IAccountRecoveryModule} from "../interfaces/modules/IAccountRecoveryModu
import {ISmartAccount} from "../interfaces/ISmartAccount.sol";
import {Enum} from "../common/Enum.sol";

import "hardhat/console.sol";

/**
* @title Account Recovery module for Biconomy Smart Accounts.
* @dev Compatible with Biconomy Modular Interface v 0.1
Expand Down Expand Up @@ -156,7 +154,6 @@ contract AccountRecoveryModule is
address dest;
uint256 callValue;
bytes calldata innerCallData;
console.log(callData.length);
if (callData.length < 0x64)
// 0x64 = 0x4 selector + 0x20 dest + 0x20 value + 0x20 innerCallData.offset
revert("Account Recovery VUO04"); // Validate User Op 02 = wrong callData length
Expand Down

0 comments on commit 020f896

Please sign in to comment.