mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-11 22:57:59 +01:00
channeldb+lnwallet: make ChanSyncMsg method on OpenChannel
This commit is contained in:
@@ -609,8 +609,7 @@ func (l *channelLink) syncChanStates() error {
|
||||
// side. Based on this message, the remote party will decide if they
|
||||
// need to retransmit any data or not.
|
||||
chanState := l.channel.State()
|
||||
localChanSyncMsg, err := lnwallet.ChanSyncMsg(
|
||||
chanState,
|
||||
localChanSyncMsg, err := chanState.ChanSyncMsg(
|
||||
chanState.HasChanStatus(channeldb.ChanStatusRestored),
|
||||
)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user