mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-12 04:41:22 +00:00
Channel bytes are spelled fully, "XXXChannel"
This commit is contained in:
@ -66,6 +66,10 @@ func (b *Block) Hash() []byte {
|
||||
return merkle.HashFromHashes(hashes)
|
||||
}
|
||||
|
||||
func (b *Block) MakePartSet() *PartSet {
|
||||
return NewPartSetFromData(binary.BinaryBytes(b))
|
||||
}
|
||||
|
||||
// Convenience.
|
||||
// A nil block never hashes to anything.
|
||||
// Nothing hashes to a nil hash.
|
||||
|
Reference in New Issue
Block a user