mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-20 15:04:22 +00:00
evidence linked with consensus/node. compiles
This commit is contained in:
+2
-2
@@ -84,7 +84,7 @@ type State interface {
|
||||
// UNSTABLE
|
||||
type EvidencePool interface {
|
||||
PendingEvidence() []Evidence
|
||||
AddEvidence(Evidence)
|
||||
AddEvidence(Evidence) error
|
||||
}
|
||||
|
||||
// MockMempool is an empty implementation of a Mempool, useful for testing.
|
||||
@@ -93,4 +93,4 @@ type MockEvidencePool struct {
|
||||
}
|
||||
|
||||
func (m MockEvidencePool) PendingEvidence() []Evidence { return nil }
|
||||
func (m MockEvidencePool) AddEvidence(Evidence) {}
|
||||
func (m MockEvidencePool) AddEvidence(Evidence) error { return nil }
|
||||
|
||||
Reference in New Issue
Block a user