mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-31 17:51:33 +02:00
trivial: Fix spelling errors
- Fixes some spelling in code comments and a couple of function names
This commit is contained in:
@@ -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