@nextrope/xrpl
Version:
A TypeScript/JavaScript API for interacting with the XRP Ledger in Node.js and the browser
13 lines • 521 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.validateCheckCancel = void 0;
const errors_1 = require("../../errors");
const common_1 = require("./common");
function validateCheckCancel(tx) {
(0, common_1.validateBaseTransaction)(tx);
if (tx.CheckID !== undefined && typeof tx.CheckID !== 'string') {
throw new errors_1.ValidationError('CheckCancel: invalid CheckID');
}
}
exports.validateCheckCancel = validateCheckCancel;
//# sourceMappingURL=checkCancel.js.map