mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-20 06:54:41 +00:00
comment ToABCI
This commit is contained in:
@@ -681,6 +681,8 @@ func (evl EvidenceList) Has(evidence Evidence) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// ToABCI converts the evidence list to a list of the equivalent abci proto type
|
||||
// for use when communicating the evidence to an application.
|
||||
func (evl EvidenceList) ToABCI() []abci.Evidence {
|
||||
el := make([]abci.Evidence, 0)
|
||||
for _, e := range evl {
|
||||
|
||||
Reference in New Issue
Block a user