"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.validateAddress = exports.isInvalidRecipient = void 0;
const isInvalidRecipient = (recipient) => {
    if (recipient.includes("criticalcrash"))
        throw new Error("isInvalidRecipient_mock_criticalcrash");
    return recipient.includes("invalid") || recipient.length <= 3;
};
exports.isInvalidRecipient = isInvalidRecipient;
async function validateAddress(address, _parameters) {
    return (0, exports.isInvalidRecipient)(address);
}
exports.validateAddress = validateAddress;
//# sourceMappingURL=validateAddress.js.map