From 0d73429252a49831156eb5b8a7fb59e3b6f089a7 Mon Sep 17 00:00:00 2001 From: Terence Tsao Date: Wed, 9 May 2018 20:30:13 -0700 Subject: [PATCH] sharding: reuse notaryCount Former-commit-id: 46d9a0084896bd36375b756d1a778da28b838283 [formerly f97fdf445e13b5bc1d8efff79d7c42d76df360f6] Former-commit-id: 4e627a869e3cea4894f4a5520280fae4d11ab3e9 --- 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 4bcffbf33..3f02d7772 100644 --- a/sharding/contracts/sharding_manager_test.go +++ b/sharding/contracts/sharding_manager_test.go @@ -457,7 +457,7 @@ func TestCommitteeListsAreDifferent(t *testing.T) { } numNotaries, _ := smc.NotaryPoolLength(&bind.CallOpts{}) - if numNotaries.Cmp(big.NewInt(1000)) != 0 { + if numNotaries.Cmp(big.NewInt(notaryCount)) != 0 { t.Errorf("Incorrect count from notary pool. Want: 1000, Got: %v", numNotaries) }