refactor: need access data via methods
This commit is contained in:
parent
cb23f21ecc
commit
0a6738be5d
|
@ -5,4 +5,6 @@ import "github.com/vmihailenco/msgpack/v5"
|
||||||
type NodeVotes interface {
|
type NodeVotes interface {
|
||||||
msgpack.CustomEncoder
|
msgpack.CustomEncoder
|
||||||
msgpack.CustomDecoder
|
msgpack.CustomDecoder
|
||||||
|
Good() int
|
||||||
|
Bad() int
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue