|
@ -145,7 +145,7 @@ func (c Client) DialPeers( |
|
|
return c.env.UnsafeDialPeers(&rpctypes.Context{}, peers, persistent, unconditional, private) |
|
|
return c.env.UnsafeDialPeers(&rpctypes.Context{}, peers, persistent, unconditional, private) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
func (c Client) BlockchainInfo(ctx context.Context, minHeight, maxHeight int64) (*coretypes.ResultBlockchainInfo, error) { //nolint:lll
|
|
|
|
|
|
|
|
|
func (c Client) BlockchainInfo(ctx context.Context, minHeight, maxHeight int64) (*coretypes.ResultBlockchainInfo, error) { |
|
|
return c.env.BlockchainInfo(&rpctypes.Context{}, minHeight, maxHeight) |
|
|
return c.env.BlockchainInfo(&rpctypes.Context{}, minHeight, maxHeight) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -165,7 +165,7 @@ func (c Client) Commit(ctx context.Context, height *int64) (*coretypes.ResultCom |
|
|
return c.env.Commit(&rpctypes.Context{}, height) |
|
|
return c.env.Commit(&rpctypes.Context{}, height) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
func (c Client) Validators(ctx context.Context, height *int64, page, perPage *int) (*coretypes.ResultValidators, error) { //nolint:lll
|
|
|
|
|
|
|
|
|
func (c Client) Validators(ctx context.Context, height *int64, page, perPage *int) (*coretypes.ResultValidators, error) { |
|
|
return c.env.Validators(&rpctypes.Context{}, height, page, perPage) |
|
|
return c.env.Validators(&rpctypes.Context{}, height, page, perPage) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|