graph/db: move cache write for MarkEdgeZombie

From the KVStore to the ChannelGraph.
This commit is contained in:
Elle Mouton committed 2025-03-24 15:05:47 +02:00
1 parent 4d00eb2aa4
commit 9d0b9f9ace
2 files changed
+21 -4

No files matched your search

-4
View File
@@ -3588,10 +3588,6 @@ func (c *KVStore) MarkEdgeZombie(chanID uint64,
"bucket: %w", err)
}
if c.graphCache != nil {
c.graphCache.RemoveChannel(pubKey1, pubKey2, chanID)
}
return markEdgeZombie(zombieIndex, chanID, pubKey1, pubKey2)
})
if err != nil {