mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-28 01:56:52 +02: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