mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-26 03:01:42 +00:00
Channel bytes are spelled fully, "XXXChannel"
This commit is contained in:
@ -4,6 +4,7 @@ import (
|
||||
"fmt"
|
||||
|
||||
"github.com/tendermint/tendermint/account"
|
||||
"github.com/tendermint/tendermint/binary"
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
sm "github.com/tendermint/tendermint/state"
|
||||
"github.com/tendermint/tendermint/types"
|
||||
@ -94,3 +95,7 @@ func (pol *POL) StringShort() string {
|
||||
Fingerprint(pol.BlockHash), pol.BlockParts)
|
||||
}
|
||||
}
|
||||
|
||||
func (pol *POL) MakePartSet() *types.PartSet {
|
||||
return types.NewPartSetFromData(binary.BinaryBytes(pol))
|
||||
}
|
||||
|
Reference in New Issue
Block a user