Merge pull request #1660 from lightningnetwork/fetch-allll-channels
channeldb/db: return all channels if multiple chains exist
This commit is contained in:
commit
d5863d03ae
@ -303,7 +303,7 @@ func (d *DB) fetchOpenChannels(tx *bolt.Tx,
|
||||
chainHash[:], pub, err)
|
||||
}
|
||||
|
||||
channels = nodeChannels
|
||||
channels = append(channels, nodeChannels...)
|
||||
return nil
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user