@@ -949,13 +949,13 @@ func buildAuthorizeKeyCalldata(keyAddr common.Address, expiry int64, enforceLimi
949949 padLeft32 ([]byte {0 }), // Secp256k1
950950 uint256ToBytes32 (big .NewInt (0x60 )), // offset to KeyRestrictions tuple
951951 // KeyRestrictions struct:
952- uint256ToBytes32 (big .NewInt (expiry )), // expiry
953- padLeft32 ([]byte {enforceByte }), // enforceLimits
954- uint256ToBytes32 (big .NewInt (0xa0 )), // offset to limits array (relative to struct start)
955- padLeft32 ([]byte {1 }), // allowAnyCalls = true
956- uint256ToBytes32 (big .NewInt (0xc0 )), // offset to allowedCalls array (relative to struct start)
957- uint256ToBytes32 (big .NewInt (0 )), // limits.length = 0
958- uint256ToBytes32 (big .NewInt (0 )), // allowedCalls.length = 0
952+ uint256ToBytes32 (big .NewInt (expiry )), // expiry
953+ padLeft32 ([]byte {enforceByte }), // enforceLimits
954+ uint256ToBytes32 (big .NewInt (0xa0 )), // offset to limits array (relative to struct start)
955+ padLeft32 ([]byte {1 }), // allowAnyCalls = true
956+ uint256ToBytes32 (big .NewInt (0xc0 )), // offset to allowedCalls array (relative to struct start)
957+ uint256ToBytes32 (big .NewInt (0 )), // limits.length = 0
958+ uint256ToBytes32 (big .NewInt (0 )), // allowedCalls.length = 0
959959 )
960960}
961961
0 commit comments