consensus: fix decodeData doc-comment

This commit is contained in:
Evgenii Stratonikov 2020-06-23 09:26:06 +03:00
parent 2863343f03
commit bc81b56708

View file

@ -319,7 +319,7 @@ func (t messageType) String() string {
}
}
// decode data of payload into it's message
// decodeData decodes data of payload into it's message.
func (p *Payload) decodeData() error {
m := new(message)
br := io.NewBinReaderFromBuf(p.data)