Fix typos in dest_custom_records comment

This commit is contained in:
Johnny Holton 2021-07-18 15:22:19 -04:00
parent 49f1169d7c
commit 9ff4b9b652
3 changed files with 3 additions and 2 deletions

@ -32,6 +32,7 @@ addholdinvoice call](https://github.com/lightningnetwork/lnd/pull/5533).
* [Shorten Pull Request check list by referring to the CI checks that are * [Shorten Pull Request check list by referring to the CI checks that are
in place](https://github.com/lightningnetwork/lnd/pull/5545). in place](https://github.com/lightningnetwork/lnd/pull/5545).
* [Added minor fixes to contribution guidelines](https://github.com/lightningnetwork/lnd/pull/5503). * [Added minor fixes to contribution guidelines](https://github.com/lightningnetwork/lnd/pull/5503).
* [Fixed typo in `dest_custom_records` description comment](https://github.com/lightningnetwork/lnd/pull/5541).
## Database ## Database

@ -7926,7 +7926,7 @@ type QueryRoutesRequest struct {
//An optional field that can be used to pass an arbitrary set of TLV records //An optional field that can be used to pass an arbitrary set of TLV records
//to a peer which understands the new records. This can be used to pass //to a peer which understands the new records. This can be used to pass
//application specific data during the payment attempt. If the destination //application specific data during the payment attempt. If the destination
//does not support the specified recrods, and error will be returned. //does not support the specified records, an error will be returned.
//Record types are required to be in the custom range >= 65536. When using //Record types are required to be in the custom range >= 65536. When using
//REST, the values must be encoded as base64. //REST, the values must be encoded as base64.
DestCustomRecords map[uint64][]byte `protobuf:"bytes,13,rep,name=dest_custom_records,json=destCustomRecords,proto3" json:"dest_custom_records,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` DestCustomRecords map[uint64][]byte `protobuf:"bytes,13,rep,name=dest_custom_records,json=destCustomRecords,proto3" json:"dest_custom_records,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`

@ -2399,7 +2399,7 @@ message QueryRoutesRequest {
An optional field that can be used to pass an arbitrary set of TLV records An optional field that can be used to pass an arbitrary set of TLV records
to a peer which understands the new records. This can be used to pass to a peer which understands the new records. This can be used to pass
application specific data during the payment attempt. If the destination application specific data during the payment attempt. If the destination
does not support the specified recrods, and error will be returned. does not support the specified records, an error will be returned.
Record types are required to be in the custom range >= 65536. When using Record types are required to be in the custom range >= 65536. When using
REST, the values must be encoded as base64. REST, the values must be encoded as base64.
*/ */