diff --git a/lnrpc/signrpc/signer.pb.go b/lnrpc/signrpc/signer.pb.go index f2096c949..531df6dee 100644 --- a/lnrpc/signrpc/signer.pb.go +++ b/lnrpc/signrpc/signer.pb.go @@ -83,12 +83,12 @@ type KeyDescriptor struct { unknownFields protoimpl.UnknownFields // - //The raw bytes of the key being identified. Either this or the KeyLocator - //must be specified. + //The raw bytes of the public key in the key pair being identified. Either + //this or the KeyLocator must be specified. RawKeyBytes []byte `protobuf:"bytes,1,opt,name=raw_key_bytes,json=rawKeyBytes,proto3" json:"raw_key_bytes,omitempty"` // - //The key locator that identifies which key to use for signing. Either this - //or the raw bytes of the target key must be specified. + //The key locator that identifies which private key to use for signing. + //Either this or the raw bytes of the target public key must be specified. KeyLoc *KeyLocator `protobuf:"bytes,2,opt,name=key_loc,json=keyLoc,proto3" json:"key_loc,omitempty"` } diff --git a/lnrpc/signrpc/signer.proto b/lnrpc/signrpc/signer.proto index 74c38f7e3..608c71ae5 100644 --- a/lnrpc/signrpc/signer.proto +++ b/lnrpc/signrpc/signer.proto @@ -74,14 +74,14 @@ message KeyLocator { message KeyDescriptor { /* - The raw bytes of the key being identified. Either this or the KeyLocator - must be specified. + The raw bytes of the public key in the key pair being identified. Either + this or the KeyLocator must be specified. */ bytes raw_key_bytes = 1; /* - The key locator that identifies which key to use for signing. Either this - or the raw bytes of the target key must be specified. + The key locator that identifies which private key to use for signing. + Either this or the raw bytes of the target public key must be specified. */ KeyLocator key_loc = 2; } diff --git a/lnrpc/signrpc/signer.swagger.json b/lnrpc/signrpc/signer.swagger.json index 45db7ee8e..e4e0c24ca 100644 --- a/lnrpc/signrpc/signer.swagger.json +++ b/lnrpc/signrpc/signer.swagger.json @@ -253,11 +253,11 @@ "raw_key_bytes": { "type": "string", "format": "byte", - "description": "The raw bytes of the key being identified. Either this or the KeyLocator\nmust be specified." + "description": "The raw bytes of the public key in the key pair being identified. Either\nthis or the KeyLocator must be specified." }, "key_loc": { "$ref": "#/definitions/signrpcKeyLocator", - "description": "The key locator that identifies which key to use for signing. Either this\nor the raw bytes of the target key must be specified." + "description": "The key locator that identifies which private key to use for signing.\nEither this or the raw bytes of the target public key must be specified." } } }, diff --git a/lnrpc/walletrpc/walletkit.swagger.json b/lnrpc/walletrpc/walletkit.swagger.json index 46d292072..922513858 100644 --- a/lnrpc/walletrpc/walletkit.swagger.json +++ b/lnrpc/walletrpc/walletkit.swagger.json @@ -818,11 +818,11 @@ "raw_key_bytes": { "type": "string", "format": "byte", - "description": "The raw bytes of the key being identified. Either this or the KeyLocator\nmust be specified." + "description": "The raw bytes of the public key in the key pair being identified. Either\nthis or the KeyLocator must be specified." }, "key_loc": { "$ref": "#/definitions/signrpcKeyLocator", - "description": "The key locator that identifies which key to use for signing. Either this\nor the raw bytes of the target key must be specified." + "description": "The key locator that identifies which private key to use for signing.\nEither this or the raw bytes of the target public key must be specified." } } },