mirror of
https://github.com/tendermint/tendermint.git
synced 2026-07-30 20:12:52 +00:00
Fix consensus: Send round-skip votes
This commit is contained in:
+1
-1
@@ -78,7 +78,7 @@ WriteBinary(foo, buf, n, err)
|
||||
foo2 := ReadBinary(Foo{}, buf, n, err).(Foo)
|
||||
|
||||
// Or, to decode onto a pointer:
|
||||
foo2 := ReadBinary(&Foo{}, buf, n, err).(*Foo)
|
||||
foo2 := ReadBinaryPtr(&Foo{}, buf, n, err).(*Foo)
|
||||
```
|
||||
|
||||
WriteBinary and ReadBinary can encode/decode structs recursively. However, interface field
|
||||
|
||||
Reference in New Issue
Block a user