mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-20 06:54:41 +00:00
e2e: disconnect maverick (#6099)
This commit is contained in:
@@ -16,7 +16,6 @@ import (
|
||||
"github.com/tendermint/tendermint/crypto/ed25519"
|
||||
"github.com/tendermint/tendermint/crypto/secp256k1"
|
||||
rpchttp "github.com/tendermint/tendermint/rpc/client/http"
|
||||
mcs "github.com/tendermint/tendermint/test/maverick/consensus"
|
||||
"github.com/tendermint/tendermint/types"
|
||||
)
|
||||
|
||||
@@ -373,11 +372,12 @@ func (n Node) Validate(testnet Testnet) error {
|
||||
height, testnet.InitialHeight)
|
||||
}
|
||||
exists := false
|
||||
for possibleBehaviors := range mcs.MisbehaviorList {
|
||||
if possibleBehaviors == misbehavior {
|
||||
exists = true
|
||||
}
|
||||
}
|
||||
// FIXME: Maverick has been disabled until it is redesigned
|
||||
// for possibleBehaviors := range mcs.MisbehaviorList {
|
||||
// if possibleBehaviors == misbehavior {
|
||||
// exists = true
|
||||
// }
|
||||
// }
|
||||
if !exists {
|
||||
return fmt.Errorf("misbehavior %s does not exist", misbehavior)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user