diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 33107f6e9..1406c29d8 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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 -Any pull request should be opened against the development branch of the target version. The development branch format is -as follows: `vx.y.z-dev`, for example: `v0.8.5-dev`. +Any pull request should be opened against the development branch `dev`. 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. \ No newline at end of file diff --git a/cmd/kaspawallet/keys/keys.go b/cmd/kaspawallet/keys/keys.go index 25ece5595..9d4813f02 100644 --- a/cmd/kaspawallet/keys/keys.go +++ b/cmd/kaspawallet/keys/keys.go @@ -367,7 +367,7 @@ func (d *File) detectNumThreads(password []byte, encryptedMnemonic *EncryptedMne _, err := decryptMnemonic(numThreadsGuess, encryptedMnemonic, password) if err != nil { - const maxTries = 32 + const maxTries = 255 if numThreadsGuess == maxTries || !strings.Contains(err.Error(), "message authentication failed") { return 0, err }