Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions authwit/src/account.nr
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ impl AccountActions<&mut PrivateContext> {
[app_payload.hash(), fee_payload.hash()],
GENERATOR_INDEX__COMBINED_PAYLOAD,
);
assert(valid_fn(self.context, combined_payload_hash));
assert!(valid_fn(self.context, combined_payload_hash));

fee_payload.execute_calls(self.context);
self.context.end_setup();
Expand Down Expand Up @@ -77,7 +77,7 @@ impl AccountActions<&mut PrivateContext> {
inner_hash,
);
let valid_fn = self.is_valid_impl;
assert(valid_fn(self.context, message_hash) == true, "Message not authorized by account");
assert!(valid_fn(self.context, message_hash), "Message not authorized by account");
IS_VALID_SELECTOR
}
// docs:end:verify_private_authwit
Expand Down