UNPKG

@ledgerhq/coin-stacks

Version:
5 lines 193 B
export const STACKS_MAX_MEMO_SIZE = 34; export function validateMemo(memo) { return Buffer.from(memo, "utf-8").byteLength <= STACKS_MAX_MEMO_SIZE; } //# sourceMappingURL=validateMemo.js.map