From 37889c476acf7ba2bf131a30cb4657e939f7cc82 Mon Sep 17 00:00:00 2001 From: Terence Tsao Date: Wed, 9 May 2018 12:02:45 -0700 Subject: [PATCH] sharding: fixed lint Former-commit-id: 413ad02b5004698771b67dfea296f1252b29c2e3 [formerly 978dcf9bbac9aabfb1decf48e5dd9af1c5b13ade] Former-commit-id: 99c1b8b1a8dc308ebd834f18f04ea88861d8d17f --- sharding/contracts/sharding_manager_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sharding/contracts/sharding_manager_test.go b/sharding/contracts/sharding_manager_test.go index 7a58c0764..415b89d8d 100644 --- a/sharding/contracts/sharding_manager_test.go +++ b/sharding/contracts/sharding_manager_test.go @@ -771,7 +771,7 @@ func TestSubmitVote(t *testing.T) { if err != nil { t.Fatalf("Check notary's vote failed: %v", err) } - if v == false { + if !v { t.Errorf("Notary's indexd bit did not cast to 1 in index %v", index0) } c, err = smc.GetVoteCount(&bind.CallOpts{}, shard0)