lisk-framework
Version:
Lisk blockchain application platform
11 lines • 438 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.certificateToJSON = void 0;
const certificateToJSON = (certificate) => ({
height: certificate.height,
timestamp: certificate.timestamp,
stateRoot: certificate.stateRoot.toString('hex'),
validatorsHash: certificate.validatorsHash.toString('hex'),
});
exports.certificateToJSON = certificateToJSON;
//# sourceMappingURL=certificates.js.map