lnwallet: remove BlockChainIO as a dependency to LightningChannel
This commit removes the BlockChainIO interface as a dependency to the LightningChannel struct as the interface is no longer used within the operation of the LightningChannel.
This commit is contained in:
5 files changed
+17
-17
No files matched your search
+2
-2
@@ -563,8 +563,8 @@ func (r *rpcServer) fetchActiveChannel(chanPoint wire.OutPoint) (*lnwallet.Light
|
||||
|
||||
// Otherwise, we create a fully populated channel state machine which
|
||||
// uses the db channel as backing storage.
|
||||
return lnwallet.NewLightningChannel(r.server.lnwallet.Signer,
|
||||
r.server.bio, r.server.chainNotifier, dbChan)
|
||||
return lnwallet.NewLightningChannel(r.server.lnwallet.Signer, nil,
|
||||
dbChan)
|
||||
}
|
||||
|
||||
// forceCloseChan executes a unilateral close of the target channel by
|
||||
|
||||
Reference in new issue
Block a user