You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/Web3Core/KeystoreManager/BIP39.swift
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -101,7 +101,7 @@ public class BIP39 {
101
101
isCorrectSize,
102
102
let entropy =Data.randomBytes(length: randomBytesCount)
103
103
else{
104
-
throwAbstractKeystoreError.noEntropyError("BIP39. \(!isCorrectSize ?"Requested entropy of wrong bits size \(size).":"Failed to generated\(randomBytesCount) of random bytes.")")
104
+
throwAbstractKeystoreError.noEntropyError("BIP39. \(!isCorrectSize ?"Requested entropy of wrong bits size:\(size). Expected: 128 <= size <= 256, size % 32 == 0.":"Failed to generate\(randomBytesCount) of random bytes.")")
0 commit comments