From 05bea1dd69a9261d78ea594ed2bb2e0842be51bc Mon Sep 17 00:00:00 2001 From: ziggie Date: Fri, 15 May 2026 21:09:46 -0300 Subject: [PATCH] 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. --- chanrestore.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chanrestore.go b/chanrestore.go index d97e50f8b..dfa1ea5f5 100644 --- a/chanrestore.go +++ b/chanrestore.go @@ -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,