From 9ff4b9b652c85a16f8f4718f1489a443d60ecfd9 Mon Sep 17 00:00:00 2001 From: Johnny Holton Date: Sun, 18 Jul 2021 15:22:19 -0400 Subject: [PATCH] Fix typos in `dest_custom_records` comment --- docs/release-notes/release-notes-0.14.0.md | 1 + lnrpc/rpc.pb.go | 2 +- lnrpc/rpc.proto | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/release-notes/release-notes-0.14.0.md b/docs/release-notes/release-notes-0.14.0.md index 532118a8..016e4238 100644 --- a/docs/release-notes/release-notes-0.14.0.md +++ b/docs/release-notes/release-notes-0.14.0.md @@ -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 in place](https://github.com/lightningnetwork/lnd/pull/5545). * [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 diff --git a/lnrpc/rpc.pb.go b/lnrpc/rpc.pb.go index be58113e..16f54425 100644 --- a/lnrpc/rpc.pb.go +++ b/lnrpc/rpc.pb.go @@ -7926,7 +7926,7 @@ type QueryRoutesRequest struct { //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 //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 //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"` diff --git a/lnrpc/rpc.proto b/lnrpc/rpc.proto index 906f0622..0a59c6c1 100644 --- a/lnrpc/rpc.proto +++ b/lnrpc/rpc.proto @@ -2399,7 +2399,7 @@ message QueryRoutesRequest { 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 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 REST, the values must be encoded as base64. */