Skip to content

Commit

Permalink
fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
sgc-code committed Jul 4, 2024
1 parent 436958c commit 66efc04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/contracts/escrow_account.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ mod EscrowAccount {
// When paymaster is implemented on startkent it might break the logic in this method
assert(tx_info.paymaster_data.is_empty(), 'escrow/unsupported-paymaster');
// No need to allow deployment
assert(tx_info.account_deployment_data.is_empty(), 'argent/invalid-deployment-data');
assert(tx_info.account_deployment_data.is_empty(), 'escrow/invalid-deployment-data');

assert(calls.len() == 1, 'escrow/invalid-call-len');
let Call { to, selector, calldata } = calls.at(0);
Expand Down

0 comments on commit 66efc04

Please sign in to comment.