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 {
3131 XCTAssert ( seed == recoveredSeed)
3232 }
3333
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
3535 func testBIP39MnemonicIsMultipleOfThree( ) {
3636 // https://github.com/trezor/python-mnemonic/blob/master/vectors.json#L95
3737 let mnemonic_12 = " scheme spot photo card baby mountain device kick cradle pact join borrow "
@@ -80,7 +80,7 @@ final class BIP39Tests: XCTestCase {
8080 let keystore2 = try BIP32Keystore ( mnemonics: mnemonic, password: " " , mnemonicsPassword: " " )
8181 XCTAssert ( keystore1? . addresses? . first == keystore2? . addresses? . first)
8282 }
83- //====================================================================
83+
8484 func testBIP39Array ( ) throws {
8585 var entropy = Data . fromHex ( " 00000000000000000000000000000000 " ) !
8686 var phrase = BIP39 . generateMnemonicsFrom ( entropy: entropy)
You can’t perform that action at this time.
0 commit comments