fix: chainlock reversed block hash fix#596
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
This pull request includes changes to the
DSTransactionManager.mfile to improve the handling of relayed chain locks. The most important change is the reordering of operations and the removal of redundant code to streamline the process of verifying and logging chain locks.Improvements to chain lock handling:
DashSync/shared/Models/Managers/Chain Managers/DSTransactionManager.m: Reordered the operations to reverse the block hash before logging it, and removed redundant code that checked for the block hash in reverse order.