mirror of
https://github.com/lightningnetwork/lnd.git
synced 2026-08-13 12:32:48 +02:00
chanrestore: use channel state open channel
Build restored channel shells with chanstate.OpenChannel instead of the channeldb alias. The restored shell is channel state data, so this keeps the constructor aligned with the package that now owns the type.
This commit is contained in:
parent
4a34503ca5
commit
05bea1dd69
1 changed files with 1 additions and 1 deletions
|
|
@ -187,7 +187,7 @@ func (c *chanDBRestorer) openChannelShell(backup chanbackup.Single) (
|
|||
|
||||
chanShell := channeldb.ChannelShell{
|
||||
NodeAddrs: backup.Addresses,
|
||||
Chan: &channeldb.OpenChannel{
|
||||
Chan: &chanstate.OpenChannel{
|
||||
ChanType: chanType,
|
||||
ChainHash: backup.ChainHash,
|
||||
IsInitiator: backup.IsInitiator,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue