graph/db: thread context through DeleteChannelEdges

This commit is contained in:
Elle Mouton committed 2026-02-25 15:33:59 +02:00
1 parent 37cc6b29d9
commit acdef84d30
8 files changed
+34 -28

No files matched your search

+3 -2
View File
@@ -1934,8 +1934,9 @@ func (c *KVStore) PruneTip() (*chainhash.Hash, uint32, error) {
// that we require the node that failed to send the fresh update to be the one
// that resurrects the channel from its zombie state. The markZombie bool
// denotes whether or not to mark the channel as a zombie.
func (c *KVStore) DeleteChannelEdges(v lnwire.GossipVersion,
strictZombiePruning, markZombie bool, chanIDs ...uint64) (
func (c *KVStore) DeleteChannelEdges(_ context.Context,
v lnwire.GossipVersion, strictZombiePruning, markZombie bool,
chanIDs ...uint64) (
[]*models.ChannelEdgeInfo, error) {
if v != lnwire.GossipVersion1 {