mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-01 02:02:10 +02:00
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:
@@ -43,7 +43,7 @@ type ContractResolver interface {
|
||||
// resolution, then another resolve is returned.
|
||||
//
|
||||
// NOTE: This function MUST be run as a goroutine.
|
||||
Resolve() (ContractResolver, error)
|
||||
Resolve(immediate bool) (ContractResolver, error)
|
||||
|
||||
// SupplementState allows the user of a ContractResolver to supplement
|
||||
// it with state required for the proper resolution of a contract.
|
||||
|
Reference in New Issue
Block a user