multi: thread thru RPC caller context from CloseChannel
This commit is contained in:
1 parent
127d3bed66
commit
bf3007a2ce
5 files changed
+59
-49
No files matched your search
@@ -1292,7 +1292,9 @@ func newServer(cfg *Config, listenAddrs []net.Addr,
|
||||
// Instruct the switch to close the channel. Provide no close out
|
||||
// delivery script or target fee per kw because user input is not
|
||||
// available when the remote peer closes the channel.
|
||||
s.htlcSwitch.CloseLink(chanPoint, closureType, 0, 0, nil)
|
||||
s.htlcSwitch.CloseLink(
|
||||
context.Background(), chanPoint, closureType, 0, 0, nil,
|
||||
)
|
||||
}
|
||||
|
||||
// We will use the following channel to reliably hand off contract
|
||||
|
||||
Reference in new issue
Block a user