File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Tests/web3swiftTests/localTests Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ final class BIP39Tests: XCTestCase {
31
31
XCTAssert ( seed == recoveredSeed)
32
32
}
33
33
34
- // https://github.com/trezor/python-mnemonic/blob/master/vectors.json
34
+ /// Test cases were borrowed from https://github.com/trezor/python-mnemonic/blob/master/vectors.json
35
35
func testBIP39MnemonicIsMultipleOfThree( ) {
36
36
// https://github.com/trezor/python-mnemonic/blob/master/vectors.json#L95
37
37
let mnemonic_12 = " scheme spot photo card baby mountain device kick cradle pact join borrow "
@@ -80,7 +80,7 @@ final class BIP39Tests: XCTestCase {
80
80
let keystore2 = try BIP32Keystore ( mnemonics: mnemonic, password: " " , mnemonicsPassword: " " )
81
81
XCTAssert ( keystore1? . addresses? . first == keystore2? . addresses? . first)
82
82
}
83
- //====================================================================
83
+
84
84
func testBIP39Array ( ) throws {
85
85
var entropy = Data . fromHex ( " 00000000000000000000000000000000 " ) !
86
86
var phrase = BIP39 . generateMnemonicsFrom ( entropy: entropy)
You can’t perform that action at this time.
0 commit comments