"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.validateXChainModifyBridge = void 0;
const errors_1 = require("../../errors");
const common_1 = require("./common");
function validateXChainModifyBridge(tx) {
    (0, common_1.validateBaseTransaction)(tx);
    if (tx.XChainBridge == null) {
        throw new errors_1.ValidationError('XChainModifyBridge: missing field XChainBridge');
    }
}
exports.validateXChainModifyBridge = validateXChainModifyBridge;
//# sourceMappingURL=XChainModifyBridge.js.map