fix on lint

This commit is contained in:
Lucca Martins 2025-01-24 16:32:58 -03:00
parent 72cbafbd16
commit 7fee5576b2
No known key found for this signature in database
GPG key ID: DC3D7F76BDAE23BF

View file

@ -126,7 +126,6 @@ func (c *ChainSpanner) tryGetBorValidatorsWithId(ctx context.Context, blockNrOrH
if err != nil {
return nil, err
}
}
borValidatorsWithoutId, err := c.getBorValidatorsWithoutId(ctx, blockNrOrHash, blockNumber, toAddress, gas)
@ -234,7 +233,6 @@ func (c *ChainSpanner) getFirstEndBlock(ctx context.Context, blockNrOrHash rpc.B
}
func (c *ChainSpanner) getBorValidatorsWithoutId(ctx context.Context, blockNrOrHash rpc.BlockNumberOrHash, blockNumber uint64, toAddress common.Address, gas hexutil.Uint64) ([]*valset.Validator, error) {
// method
const method = "getBorValidators"