mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-21 19:50:05 +01:00
rpcserver+itest: remove channel from backup when abandoning it
This commit is contained in:
@@ -2254,6 +2254,10 @@ func (r *rpcServer) AbandonChannel(ctx context.Context,
|
||||
return nil, err
|
||||
}
|
||||
|
||||
// Finally, notify the backup listeners that the channel can be removed
|
||||
// from any channel backups.
|
||||
r.server.channelNotifier.NotifyClosedChannelEvent(*chanPoint)
|
||||
|
||||
return &lnrpc.AbandonChannelResponse{}, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user