Skip to content

Commit d53e0f0

Browse files
committed
format
1 parent 9ac18ae commit d53e0f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/build/guides/auth/contract-authorization.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ By using `env.current_contract_address()`, we can get the invoker's address and
335335

336336
Custom account contracts are contracts that implement a special reserved function for validating externally provided signatures within the respective authorization context. The custom account contracts are essentially regular contracts, with an added capability to verify externally provided authorization.
337337

338-
### `\_\_check_auth()`
338+
### `__check_auth()`
339339

340340
A contract that implements the `CustomAccountInterface` for authorizing calls becomes a custom account contract. The interface contains a single function called `__check_auth()`. The function is a reserved function, and it is invoked automatically by the Host when a contract authorizes a transaction. It cannot be called manually.
341341

0 commit comments

Comments
 (0)