Skip to content

Commit

Permalink
Revert "feat: signature length expected 6 (#798)" (#799)
Browse files Browse the repository at this point in the history
This reverts commit 103e311.
  • Loading branch information
enitrat authored Jun 6, 2024
1 parent 103e311 commit 57e4446
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/contracts/src/account_contract.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ pub mod AccountContract {
// todo: activate check once using snfoundry
// assert(tx_info.version.try_into().unwrap() >= 1_u128, 'EOA: deprecated tx version');
assert(self.Account_bytecode.read().len().is_zero(), 'EOAs: Cannot have code');
assert(tx_info.signature.len() == 6, 'EOA: invalid signature length');
assert(tx_info.signature.len() == 5, 'EOA: invalid signature length');

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

0 comments on commit 57e4446

Please sign in to comment.