sharding: fixed lint

Former-commit-id: a333578841a9058f1e7f298970fb1460ac5eefe1 [formerly 4dcb80be36a3d4d59e0c950e318ae277c792a725]
Former-commit-id: 576570909a92d0858cae2fa2fd8f6bf7088f06f8
This commit is contained in:
Terence Tsao 2018-04-24 10:18:45 -07:00
parent 08325ed7d4
commit 0b7df21505

View File

@ -59,7 +59,7 @@ func checkSMCForCollator(c client.Client, head *types.Header) error {
for s := int64(0); s < sharding.ShardCount; s++ {
// Checks if we are an eligible collator according to the SMC
for i := int64(0); i < sharding.NotaryCommitSize; s++ {
addr, err := c.SMCCaller().GetNotaryInCommittee(&bind.CallOpts{}, big.NewInt(s), i)
addr, err := c.SMCCaller().GetNotaryInCommittee(&bind.CallOpts{}, big.NewInt(s), big.NewInt(i))
if err != nil {
return err