contractcourt: make sure sweep happens immediately on startup
This commit makes sure the time-sensitive outputs are swept immediately during startup.
This commit is contained in:
14 files changed
+54
-29
No files matched your search
@@ -49,7 +49,9 @@ func newOutgoingContestResolver(res lnwallet.OutgoingHtlcResolution,
|
||||
// When either of these two things happens, we'll create a new resolver which
|
||||
// is able to handle the final resolution of the contract. We're only the pivot
|
||||
// point.
|
||||
func (h *htlcOutgoingContestResolver) Resolve() (ContractResolver, error) {
|
||||
func (h *htlcOutgoingContestResolver) Resolve(
|
||||
_ bool) (ContractResolver, error) {
|
||||
|
||||
// If we're already full resolved, then we don't have anything further
|
||||
// to do.
|
||||
if h.resolved {
|
||||
|
||||
Reference in new issue
Block a user