Node icon indicating copy to clipboard operation
Node copied to clipboard

GH-606-Review-4

Open masqrauder opened this issue 8 months ago • 0 comments

Summary (from AI Assistant)

Changes

  1. Changed accountant::mod.rs Adjusted the field new_start_block in struct ReceivedPayments to be of type Option<u64>. Altered multiple unit tests to reflect the new field type. Enforced an additional condition to only update the new_start_block if its value is greater than the current start block maintained in the persistent configuration.
  2. Modified accountant::scanners::mod.rs Similar to accountant::mod.rs, an additional condition was added before updating the new_start_block. new_start_block is now checked in two methods to ensure it isn't updated with lower values which would lead to reprocessing of previously processed blocks. Various unit tests adjusted to incorporate the changes related to new_start_block. Note: The commit involves improvements and code quality changes and does not appear to add any new features or remove existing ones.

masqrauder avatar Jun 16 '24 03:06 masqrauder