From 7e82da80253efddb34eecfd8098dfb4213041e12 Mon Sep 17 00:00:00 2001 From: chaitika_ Date: Thu, 24 Oct 2024 22:21:18 +0530 Subject: [PATCH] style: run npm format --- packages/core/src/encoding.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/core/src/encoding.ts b/packages/core/src/encoding.ts index c09c452..9d50156 100644 --- a/packages/core/src/encoding.ts +++ b/packages/core/src/encoding.ts @@ -71,9 +71,8 @@ const hrpFromNetwork = (network: Network): string => { }; export const parseSilentBlock = (data: Buffer): SilentBlock => { - const type = data.readUInt8(0); // read 8 bits from 0th index // unsigned integer - UInt + const type = data.readUInt8(0); const transactions = []; - let cursor = 1; const count = readVarInt(data, cursor); cursor += encodingLength(count);