Skip to content

Commit

Permalink
chore: decodeAddressHook throws annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
0xpatrickdev committed Dec 11, 2024
1 parent e437a10 commit d527d9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/cosmic-proto/src/address-hooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ harden(encodeAddressHook);
* @param {string} addressHook
* @param {number} [charLimit]
* @returns {{ baseAddress: string; query: HookQuery }}
* @throws {Error} if no hook string or hook string does not start with `?`
*/
export const decodeAddressHook = (addressHook, charLimit) => {
const { baseAddress, hookData } = splitHookedAddress(addressHook, charLimit);
Expand Down

0 comments on commit d527d9c

Please sign in to comment.