export const isInvalidRecipient = (recipient) => {
    if (recipient.includes("criticalcrash"))
        throw new Error("isInvalidRecipient_mock_criticalcrash");
    return recipient.includes("invalid") || recipient.length <= 3;
};
export async function validateAddress(address, _parameters) {
    return isInvalidRecipient(address);
}
//# sourceMappingURL=validateAddress.js.map