full request for next block

This commit is contained in:
William Banfield
2022-02-14 17:19:57 -05:00
parent b32b4a719b
commit 0bd5d6c7c9
2 changed files with 10 additions and 12 deletions
+8
View File
@@ -681,6 +681,14 @@ func (evl EvidenceList) Has(evidence Evidence) bool {
return false
}
func (evl EvidenceList) ToABCI() []abci.Evidence {
el := make([]abci.Evidence, 0)
for _, e := range evl {
el = append(el, e.ABCI()...)
}
return el
}
//------------------------------------------ PROTO --------------------------------------
// EvidenceToProto is a generalized function for encoding evidence that conforms to the