channeldb: don't initialise edge index bkt as top level

The `edgeIndexBucket` key name is used to key a sub-bucket within the
`edgeBucket` bucket. And so the `edgeIndexBucket` is not a top level
bucket.
This commit is contained in:
Elle Mouton 2023-09-20 09:31:41 +02:00
parent 49a0370dcd
commit 893147d83e
No known key found for this signature in database
GPG Key ID: D7D916376026F177

View File

@ -314,7 +314,6 @@ func (c *ChannelGraph) getChannelMap(edges kvdb.RBucket) (
var graphTopLevelBuckets = [][]byte{
nodeBucket,
edgeBucket,
edgeIndexBucket,
graphMetaBucket,
}