htlcswitch: add debug logs for fetching network result

This commit is contained in:
Johan T. Halseth committed 2020-11-24 14:14:49 +01:00
1 parent 7f9f4a7c8d
commit 4d645ef97f
2 files changed
+7

No files matched your search

+3
View File
@@ -420,6 +420,9 @@ func (s *Switch) GetPaymentResult(paymentID uint64, paymentHash lntypes.Hash,
return
}
log.Debugf("Received network result %T for paymentID=%v", n.msg,
paymentID)
// Extract the result and pass it to the result channel.
result, err := s.extractResult(
deobfuscator, n, paymentID, paymentHash,