watchtowerrpc: fix typo

This commit is contained in:
Oliver Gugger 2020-03-03 16:30:15 +01:00
parent 1e1b68accf
commit 10e247540f
No known key found for this signature in database
GPG Key ID: 8E4256593F177720
2 changed files with 3 additions and 3 deletions

@ -150,7 +150,7 @@ const _ = grpc.SupportPackageIsVersion4
type WatchtowerClient interface { type WatchtowerClient interface {
//* lncli: tower info //* lncli: tower info
//GetInfo returns general information concerning the companion watchtower //GetInfo returns general information concerning the companion watchtower
//including it's public key and URIs where the server is currently //including its public key and URIs where the server is currently
//listening for clients. //listening for clients.
GetInfo(ctx context.Context, in *GetInfoRequest, opts ...grpc.CallOption) (*GetInfoResponse, error) GetInfo(ctx context.Context, in *GetInfoRequest, opts ...grpc.CallOption) (*GetInfoResponse, error)
} }
@ -176,7 +176,7 @@ func (c *watchtowerClient) GetInfo(ctx context.Context, in *GetInfoRequest, opts
type WatchtowerServer interface { type WatchtowerServer interface {
//* lncli: tower info //* lncli: tower info
//GetInfo returns general information concerning the companion watchtower //GetInfo returns general information concerning the companion watchtower
//including it's public key and URIs where the server is currently //including its public key and URIs where the server is currently
//listening for clients. //listening for clients.
GetInfo(context.Context, *GetInfoRequest) (*GetInfoResponse, error) GetInfo(context.Context, *GetInfoRequest) (*GetInfoResponse, error)
} }

@ -7,7 +7,7 @@ option go_package = "github.com/lightningnetwork/lnd/lnrpc/watchtowerrpc";
service Watchtower { service Watchtower {
/** lncli: tower info /** lncli: tower info
GetInfo returns general information concerning the companion watchtower GetInfo returns general information concerning the companion watchtower
including it's public key and URIs where the server is currently including its public key and URIs where the server is currently
listening for clients. listening for clients.
*/ */
rpc GetInfo (GetInfoRequest) returns (GetInfoResponse); rpc GetInfo (GetInfoRequest) returns (GetInfoResponse);