mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-31 17:51:33 +02:00
invoices/invoiceregistry: remove debug spew
This commit is contained in:
@@ -203,6 +203,12 @@ type ContractTerm struct {
|
||||
Features *lnwire.FeatureVector
|
||||
}
|
||||
|
||||
// String returns a human-readable description of the prominent contract terms.
|
||||
func (c ContractTerm) String() string {
|
||||
return fmt.Sprintf("amt=%v, expiry=%v, final_cltv_delta=%v", c.Value,
|
||||
c.Expiry, c.FinalCltvDelta)
|
||||
}
|
||||
|
||||
// Invoice is a payment invoice generated by a payee in order to request
|
||||
// payment for some good or service. The inclusion of invoices within Lightning
|
||||
// creates a payment work flow for merchants very similar to that of the
|
||||
|
Reference in New Issue
Block a user