trivial: Fix spelling errors

- Fixes some spelling in code comments and a couple of function names
This commit is contained in:
Michael Rooke
2023-09-20 11:37:32 -04:00
parent ec585431a9
commit 78d9996620
30 changed files with 65 additions and 52 deletions

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