XRPL-Labs / xrpld-hooks

ISC License
95 stars 28 forks source link

Param checks on imports on HookSet #23

Closed WietseWind closed 1 year ago

WietseWind commented 3 years ago

Setting a hook with an incorrect type (e.g. _g guard returns i64) should be rejected. Now the hook can be set, and when invoked by a transaction it's returning a Malformed error.

RichardAH commented 1 year ago

Fixed in cd2643ff69357043f2374eb17943c825c2b50001