-
Notifications
You must be signed in to change notification settings - Fork 575
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
starts scanTransactions after account creation (#3659)
* starts scanTransactions after account creation if a node is online and syncing at the time of account creation it's possible to for an account head to be set to a block that is behind the wallet's chainProcessor. if the account's head is behind the chain processor then the wallet will not scan any transactions for the account until the node is restarted. runs scanTransactions after creating an account in the 'create' RPC so that a newly created account will be synced with the chainProcessor if it is behind. this matches the logic in the 'importAccount' RPC. * mocks scanTransactions in beforeEach
- Loading branch information
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters