Remove double locking in HasIP

This commit is contained in:
Alexander Simmerl
2018-05-16 19:13:45 +02:00
parent c5f45275ec
commit b698a9febc
5 changed files with 121 additions and 88 deletions

View File

@@ -27,7 +27,7 @@ func init() {
// Heal partition and ensure A sees the commit
func TestByzantine(t *testing.T) {
N := 4
logger := consensusLogger()
logger := consensusLogger().With("test", "byzantine")
css := randConsensusNet(N, "consensus_byzantine_test", newMockTickerFunc(false), newCounter)
// give the byzantine validator a normal ticker