forked from TrueCloudLab/neoneo-go
io: implement ReadBytes()
This commit is contained in:
parent
838050f8b5
commit
fccb008594
22 changed files with 72 additions and 38 deletions
|
@ -23,7 +23,7 @@ func (c *commit) EncodeBinary(w *io.BinWriter) {
|
|||
|
||||
// DecodeBinary implements io.Serializable interface.
|
||||
func (c *commit) DecodeBinary(r *io.BinReader) {
|
||||
r.ReadBE(&c.signature)
|
||||
r.ReadBytes(c.signature[:])
|
||||
}
|
||||
|
||||
// Signature implements payload.Commit interface.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue