Skip to content

Commit

Permalink
fix proposed_block msg
Browse files Browse the repository at this point in the history
  • Loading branch information
Povilaszva committed Jul 9, 2024
1 parent da4346c commit ce32f4e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions injective-chain/app/publisher.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit ce32f4e

Please sign in to comment.