Skip to content
This repository was archived by the owner on Feb 12, 2025. It is now read-only.

Fix ripple resync#939

Merged
jcoatelen-ledger merged 3 commits into
mainfrom
fix-ripple-resync
Jun 30, 2023
Merged

Fix ripple resync#939
jcoatelen-ledger merged 3 commits into
mainfrom
fix-ripple-resync

Conversation

@jcoatelen-ledger
Copy link
Copy Markdown
Contributor

@jcoatelen-ledger jcoatelen-ledger commented Jun 30, 2023

Ripple resync (account reseed) does not work: after [correctly] wiping data in DB, the block height is not updated accordingly in Redis. The fix consists in using the correct subPreferences of the "internal preferences" to update the block height at eraseDataSince().

Fixes VSD-2405

Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-tidy made some suggestions

Comment thread core/src/wallet/common/synchronizers/SavedStateProvider.hpp Outdated
Comment thread core/src/wallet/common/synchronizers/SavedStateProvider.hpp Outdated
Comment thread core/src/wallet/ripple/RippleLikeAccount.cpp Outdated
@jcoatelen-ledger jcoatelen-ledger marked this pull request as draft June 30, 2023 06:49
@github-actions
Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@jcoatelen-ledger jcoatelen-ledger marked this pull request as ready for review June 30, 2023 07:41
@jcoatelen-ledger jcoatelen-ledger merged commit 24d15a9 into main Jun 30, 2023
@jcoatelen-ledger jcoatelen-ledger deleted the fix-ripple-resync branch June 30, 2023 08:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants