Skip to content
This repository was archived by the owner on Jan 8, 2025. It is now read-only.

Commit 57e4446

Browse files
authored
Revert "feat: signature length expected 6 (#798)" (#799)
This reverts commit 103e311.
1 parent 103e311 commit 57e4446

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/contracts/src/account_contract.cairo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ pub mod AccountContract {
152152
// todo: activate check once using snfoundry
153153
// assert(tx_info.version.try_into().unwrap() >= 1_u128, 'EOA: deprecated tx version');
154154
assert(self.Account_bytecode.read().len().is_zero(), 'EOAs: Cannot have code');
155-
assert(tx_info.signature.len() == 6, 'EOA: invalid signature length');
155+
assert(tx_info.signature.len() == 5, 'EOA: invalid signature length');
156156

157157
let call = calls.at(0);
158158
assert(*call.to == self.ownable.owner(), 'to is not kakarot core');

0 commit comments

Comments
 (0)