trivial: Fix spelling errors

- Fixes some spelling in code comments and a couple of function names
This commit is contained in:
Michael Rooke committed 2023-09-21 22:35:33 -04:00
1 parent ec585431a9
commit 78d9996620
30 files changed
+65 -52

No files matched your search

+1 -1
View File
@@ -281,7 +281,7 @@ func PaymentAddr(addr [32]byte) func(*Invoice) {
}
// Metadata is a functional option that allows callers of NewInvoice to set
// the desired payment Metadata tht is advertised on the invoice.
// the desired payment Metadata that is advertised on the invoice.
func Metadata(metadata []byte) func(*Invoice) {
return func(i *Invoice) {
i.Metadata = metadata