Skip to content

Commit

Permalink
chore: remove LatestRgsSyncTimestamp from backend
Browse files Browse the repository at this point in the history
  • Loading branch information
im-adithya committed Aug 13, 2024
1 parent 3efad97 commit aee0056
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lnclient/ldk/ldk.go
Original file line number Diff line number Diff line change
Expand Up @@ -389,9 +389,7 @@ func (ls *LDKService) resetRouterInternal() {

switch key {
case "ALL":
command = "delete from ldk_node_data where key = 'latest_rgs_sync_timestamp' or key = 'scorer' or key = 'network_graph';VACUUM;"
case "LatestRgsSyncTimestamp":
command = "delete from ldk_node_data where key = 'latest_rgs_sync_timestamp';VACUUM;"
command = "delete from ldk_node_data where key = 'scorer' or key = 'network_graph';VACUUM;"
case "Scorer":
command = "delete from ldk_node_data where key = 'scorer';VACUUM;"
case "NetworkGraph":
Expand Down

0 comments on commit aee0056

Please sign in to comment.