From ce32f4e87d2570656ae830c6a862e9c705c52b01 Mon Sep 17 00:00:00 2001 From: povilaszvaliauskas Date: Tue, 9 Jul 2024 09:58:51 +0300 Subject: [PATCH] fix proposed_block msg --- injective-chain/app/publisher.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/injective-chain/app/publisher.go b/injective-chain/app/publisher.go index add31e9..02b13d5 100644 --- a/injective-chain/app/publisher.go +++ b/injective-chain/app/publisher.go @@ -106,13 +106,13 @@ type Block struct { } type BlockProposal struct { - Txs [][]any - ProposedLastCommit any - Hash []byte - Height int64 - Time time.Time - NextValidatorsHash []byte - ProposerAddress []byte + Txs [][]any `json:"txs"` + ProposedLastCommit any `json:"proposed_last_commit"` + Hash []byte `json:"hash"` + Height int64 `json:"height"` + Time time.Time `json:"time"` + NextValidatorsHash []byte `json:"next_validators_hash"` + ProposerAddress []byte `json:"proposer_address"` } func decodeTxs(txBytes [][]byte, encfg EncodingConfig) ([]Transaction, error) {