-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: stop reuse of nonce keys (#6464)
Description --- Stops the reuse of nonce keys when a wallet has been recovered. Motivation and Context --- Currently, nonce keys are based on incrementing key indexes. This is a problem if the wallet is recovered as the wallet does not keep the index of the nonce keys, but rather starts at 0 again. This change is to make all nonce keys random u64.
- Loading branch information
1 parent
574fa1e
commit 131225c
Showing
3 changed files
with
41 additions
and
70 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
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