Merge pull request #5236 from offerm/preimage-to-settleevent

feature: expose preimage in forward+settle event
This commit is contained in:
Olaoluwa Osuntokun authored and GitHub committed 2021-07-09 14:35:11 -07:00
commit db3819fcef
10 files changed
+295 -251

No files matched your search

+2 -1
View File
@@ -286,5 +286,6 @@ type htlcNotifier interface {
// NotifySettleEvent notifies the HtlcNotifier that a htlc that we
// committed to as part of a forward or a receive to our node has been
// settled.
NotifySettleEvent(key HtlcKey, eventType HtlcEventType)
NotifySettleEvent(key HtlcKey, preimage lntypes.Preimage,
eventType HtlcEventType)
}