sharding: reuse notaryCount

Former-commit-id: 46d9a0084896bd36375b756d1a778da28b838283 [formerly f97fdf445e13b5bc1d8efff79d7c42d76df360f6]
Former-commit-id: 4e627a869e3cea4894f4a5520280fae4d11ab3e9
This commit is contained in:
Terence Tsao 2018-05-09 20:30:13 -07:00
parent a083a59f34
commit 0d73429252

View File

@ -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)
}