mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-12 21:01:21 +00:00
types: []byte -> data.Bytes
This commit is contained in:
@ -1,15 +1,19 @@
|
||||
package types
|
||||
|
||||
import (
|
||||
"github.com/tendermint/go-wire/data"
|
||||
)
|
||||
|
||||
// canonical json is go-wire's json for structs with fields in alphabetical order
|
||||
|
||||
type CanonicalJSONBlockID struct {
|
||||
Hash []byte `json:"hash,omitempty"`
|
||||
Hash data.Bytes `json:"hash,omitempty"`
|
||||
PartsHeader CanonicalJSONPartSetHeader `json:"parts,omitempty"`
|
||||
}
|
||||
|
||||
type CanonicalJSONPartSetHeader struct {
|
||||
Hash []byte `json:"hash"`
|
||||
Total int `json:"total"`
|
||||
Hash data.Bytes `json:"hash"`
|
||||
Total int `json:"total"`
|
||||
}
|
||||
|
||||
type CanonicalJSONProposal struct {
|
||||
|
Reference in New Issue
Block a user