mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-06-07 14:46:44 +00:00
fix CONTRIBUTING.md text (#1908)
* Update to version v0.11.8 * bugfix: addresses issue #1903, raised kaspawallet bruteforce core limit to 256 * fix contributing.md text * Update cmd/kaspawallet/keys/keys.go Co-authored-by: Ori Newman <orinewman1@gmail.com> Co-authored-by: Ori Newman <orinewman1@gmail.com>
This commit is contained in:
parent
aa43c14fc5
commit
99f82eb80f
@ -12,8 +12,7 @@ If you want to make a big change it's better to discuss it first by opening an i
|
|||||||
|
|
||||||
## Pull Request process
|
## Pull Request process
|
||||||
|
|
||||||
Any pull request should be opened against the development branch of the target version. The development branch format is
|
Any pull request should be opened against the development branch `dev`.
|
||||||
as follows: `vx.y.z-dev`, for example: `v0.8.5-dev`.
|
|
||||||
|
|
||||||
All pull requests should pass the checks written in `build_and_test.sh`, so it's recommended to run this script before
|
All pull requests should pass the checks written in `build_and_test.sh`, so it's recommended to run this script before
|
||||||
submitting your PR.
|
submitting your PR.
|
@ -367,7 +367,7 @@ func (d *File) detectNumThreads(password []byte, encryptedMnemonic *EncryptedMne
|
|||||||
|
|
||||||
_, err := decryptMnemonic(numThreadsGuess, encryptedMnemonic, password)
|
_, err := decryptMnemonic(numThreadsGuess, encryptedMnemonic, password)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
const maxTries = 32
|
const maxTries = 255
|
||||||
if numThreadsGuess == maxTries || !strings.Contains(err.Error(), "message authentication failed") {
|
if numThreadsGuess == maxTries || !strings.Contains(err.Error(), "message authentication failed") {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user