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
@@ -90,7 +90,9 @@ func (h *htlcIncomingContestResolver) processFinalHtlcFail() error {
|
||||
// as we have no remaining actions left at our disposal.
|
||||
//
|
||||
// NOTE: Part of the ContractResolver interface.
|
||||
func (h *htlcIncomingContestResolver) Resolve() (ContractResolver, error) {
|
||||
func (h *htlcIncomingContestResolver) 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