Skip to content

Commit

Permalink
drop node state
Browse files Browse the repository at this point in the history
merge commit 74a8208 introduced commits
c51d212 and
ee25097, which modify the node state.
When the node state is cached, however, deserialization now fails. This
commit drops the current node state to ensure deserialization always
works.
  • Loading branch information
JssDWt committed Aug 9, 2024
1 parent a5657e4 commit 575c261
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libs/sdk-core/src/persist/migrations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,8 @@ pub(crate) fn current_migrations() -> Vec<&'static str> {
UPDATE channels SET local_balance_msat = spendable_msat;
",
"DELETE FROM cached_items WHERE key = 'gl_credentials'",
"DELETE FROM cached_items WHERE key = 'last_sync_time'"
"DELETE FROM cached_items WHERE key = 'last_sync_time'",
"DELETE FROM cached_items WHERE key = 'node_state'"
]
}

Expand Down

0 comments on commit 575c261

Please sign in to comment.