Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
resets account heads and birthdays in reset command
the 'ironfish reset' command deletes the chain database and most wallet datastores however, it does not clear the 'heads' store. this prevents the wallet from starting the next time the node starts because the account head will reference a block that is missing from the chain updates 'ironfish reset' to use 'wallet.reset' to reset all database stores, including the heads store adds arguments to reset, resetAccounts to optionally reset the 'createdAt' field on each account resets account 'createdAt' field in 'ironfish reset' if the command is used to change from one network to another because the createdAt field will reference a block on a different chain after changing networks
- Loading branch information