chanbackup: add SCB support for new anchor commitments

This commit is contained in:
Olaoluwa Osuntokun committed 2020-03-16 17:07:03 -07:00
1 parent 2e2f0450fd
commit 823a9cc2c2
5 files changed
+30 -20

No files matched your search

-6
View File
@@ -213,12 +213,6 @@ func (s *SubSwapper) backupUpdater() {
// For all new open channels, we'll create a new SCB
// given the required information.
for _, newChan := range chanUpdate.NewChans {
// TODO(halseth): support chan backups for
// anchor types.
if newChan.ChanType.HasAnchors() {
continue
}
log.Debugf("Adding channel %v to backup state",
newChan.FundingOutpoint)