UNPKG

@ton3/liteclient

Version:
11 lines 486 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getBlock = void 0; const utils_1 = require("../../utils"); const tonNode_1 = require("../../dataTypes/tonNode"); const getBlock = (bufferWriter, blockId) => { bufferWriter.writeInt32LE((0, utils_1.crc32)('liteServer.getBlock id:tonNode.blockIdExt = liteServer.BlockData')); tonNode_1.blockIdExt.write(bufferWriter, blockId); }; exports.getBlock = getBlock; //# sourceMappingURL=getBlock.js.map