ethergo/chain/client/near/block.go
Function getBlock
has 10 return statements (exceeds 4 allowed). Open
Open
func getBlock(ctx context.Context, c AuroraClient, method string, args ...interface{}) (*types.Block, error) {
var raw json.RawMessage
err := c.CallContext(ctx, &raw, method, args...)
if err != nil {
//nolint:wrapcheck