# hooks-slot-hash-buf-len

Function [slot_id](https://xrpl-hooks.readme.io/v2.0/reference/slot_id) has fixed-size canonical hash output.

This check warns about too-small size of its output buffer as well as invalid values of the slot number parameter (if they're specified by constants - variable parameters are ignored).

[Read more](https://xrpl-hooks.readme.io/v2.0/docs/slots-and-keylets)
