From 7e13e0bb35e7ec8f36f64b21be1aa8f97259d22a Mon Sep 17 00:00:00 2001 From: weiihann Date: Wed, 18 Dec 2024 20:57:18 +0800 Subject: [PATCH] remove json tags --- sync/sync.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sync/sync.go b/sync/sync.go index cd9fe2c3a0..0bfdcef9e8 100644 --- a/sync/sync.go +++ b/sync/sync.go @@ -87,13 +87,13 @@ func (n *NoopSynchronizer) SubscribePendingTxs() PendingTxSubscription { // ReorgBlockRange represents data about reorganised blocks, starting and ending block number and hash type ReorgBlockRange struct { // StartBlockHash is the hash of the first known block of the orphaned chain - StartBlockHash *felt.Felt `json:"starting_block_hash"` + StartBlockHash *felt.Felt // StartBlockNum is the number of the first known block of the orphaned chain - StartBlockNum uint64 `json:"starting_block_number"` + StartBlockNum uint64 // The last known block of the orphaned chain - EndBlockHash *felt.Felt `json:"ending_block_hash"` + EndBlockHash *felt.Felt // Number of the last known block of the orphaned chain - EndBlockNum uint64 `json:"ending_block_number"` + EndBlockNum uint64 } func (n *NoopSynchronizer) PendingBlock() *core.Block {