Skip to content
This repository was archived by the owner on May 26, 2023. It is now read-only.

Commit dda61ba

Browse files
author
Noel
authored
fix(core): tx block header type (#399)
* fix(core): remove TxBlockType * fix(core): NumPages in TxBlockHeader
1 parent 88c5896 commit dda61ba

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

packages/zilliqa-js-core/src/types.ts

+1-7
Original file line numberDiff line numberDiff line change
@@ -144,11 +144,6 @@ export interface BlockList {
144144
maxPages: number;
145145
}
146146

147-
enum TxBlockType {
148-
MICRO,
149-
FINAL,
150-
}
151-
152147
export interface TxBlockHeader {
153148
BlockNum: string;
154149
DSBlockNum: string;
@@ -157,6 +152,7 @@ export interface TxBlockHeader {
157152
MbInfoHash: string;
158153
MinerPubKey: string;
159154
NumMicroBlocks: number;
155+
NumPages: number;
160156
NumTxns: number;
161157
PrevBlockHash: string;
162158
Rewards: string;
@@ -165,8 +161,6 @@ export interface TxBlockHeader {
165161
Timestamp: string;
166162
TxnFees: string;
167163
Version: number;
168-
169-
Type: TxBlockType;
170164
}
171165

172166
export interface MicroBlockInfoObj {

0 commit comments

Comments
 (0)