mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-04 08:44:28 +00:00
sharding: fixed lint
Former-commit-id: a333578841a9058f1e7f298970fb1460ac5eefe1 [formerly 4dcb80be36a3d4d59e0c950e318ae277c792a725] Former-commit-id: 576570909a92d0858cae2fa2fd8f6bf7088f06f8
This commit is contained in:
parent
08325ed7d4
commit
0b7df21505
@ -59,7 +59,7 @@ func checkSMCForCollator(c client.Client, head *types.Header) error {
|
|||||||
for s := int64(0); s < sharding.ShardCount; s++ {
|
for s := int64(0); s < sharding.ShardCount; s++ {
|
||||||
// Checks if we are an eligible collator according to the SMC
|
// Checks if we are an eligible collator according to the SMC
|
||||||
for i := int64(0); i < sharding.NotaryCommitSize; s++ {
|
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 {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
Loading…
Reference in New Issue
Block a user