Files
xrpl-hooks-ide/xrpl-hooks-docs/md/hooks-raddr-conv-pure.md
Denis Angell d21cda21d0 !fixup
2023-06-06 12:53:43 +00:00

6 lines
485 B
Markdown

# hooks-raddr-conv-pure
Hooks identify accounts by the 20 byte account ID, which can be converted from a raddr using the [util_accid](https://xrpl-hooks.readme.io/reference/util_accid) function. If the raddr never changes, a more efficient way to do this is precompute the account-id from the raddr.
This check warns about calls of `util_accid` with constant input and proposes to add a tracing statement showing the computed value (so that the user can use it to replace the call).