contractcourt: specify deadline and budget for htlc timeout

This commit is contained in:
yyforyongyu committed 2024-04-19 21:33:34 +08:00
1 parent d1ad07fa21
commit cab180a52e
8 files changed
+214 -13

No files matched your search

+6
View File
@@ -737,6 +737,12 @@ func (h *htlcSuccessResolver) HtlcPoint() wire.OutPoint {
return h.htlcResolution.HtlcPoint()
}
// SupplementDeadline does nothing for an incoming htlc resolver.
//
// NOTE: Part of the htlcContractResolver interface.
func (h *htlcSuccessResolver) SupplementDeadline(_ fn.Option[int32]) {
}
// A compile time assertion to ensure htlcSuccessResolver meets the
// ContractResolver interface.
var _ htlcContractResolver = (*htlcSuccessResolver)(nil)