trivial: Fix spelling errors
- Fixes some spelling in code comments and a couple of function names
This commit is contained in:
30 files changed
+65
-52
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user