Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rollback transactions past the last saved recent block.
If a long reorganize occurs farther back than the last saved recent block hash (currently max 20 are saved) a full rescan is triggered since there is no guarantee the previous blocks weren't also removed in the reorg. In this case, the address manager was set unsynced, but transaction history was not rolled back as well. This commit corrects this by unconfirming all transactions but those in the genesis block.
- Loading branch information