mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-01 10:11:11 +02:00
multi: add more logging when fetching invoices and payments.
This commit is contained in:
@@ -202,6 +202,12 @@ type PaymentCreationInfo struct {
|
||||
FirstHopCustomRecords lnwire.CustomRecords
|
||||
}
|
||||
|
||||
func (p *PaymentCreationInfo) String() string {
|
||||
return fmt.Sprintf("payment_id=%v, amount=%v, created_at=%v, "+
|
||||
"payment_request=%v", p.PaymentIdentifier, p.Value,
|
||||
p.CreationTime, p.PaymentRequest)
|
||||
}
|
||||
|
||||
// htlcBucketKey creates a composite key from prefix and id where the result is
|
||||
// simply the two concatenated.
|
||||
func htlcBucketKey(prefix, id []byte) []byte {
|
||||
|
Reference in New Issue
Block a user