Merge pull request #1660 from lightningnetwork/fetch-allll-channels

channeldb/db: return all channels if multiple chains exist
This commit is contained in:
Olaoluwa Osuntokun 2018-08-09 20:59:28 -07:00 committed by GitHub
commit d5863d03ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -303,7 +303,7 @@ func (d *DB) fetchOpenChannels(tx *bolt.Tx,
chainHash[:], pub, err) chainHash[:], pub, err)
} }
channels = nodeChannels channels = append(channels, nodeChannels...)
return nil return nil
}) })