File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Tests/web3swiftTests/localTests Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -16,9 +16,9 @@ class BIP32KeystoreTests: XCTestCase {
1616 /// Seed randomly generated for this test
1717 let mnemonic = " resource beyond merit enemy foot piece reveal eagle nothing luggage goose spot "
1818 let password = " test_password "
19-
19+
2020 let addressesCount : UInt = 101
21-
21+
2222 guard let keystore = try BIP32Keystore (
2323 mnemonics: mnemonic,
2424 password: password,
@@ -28,12 +28,12 @@ class BIP32KeystoreTests: XCTestCase {
2828 XCTFail ( " Keystore has not generated " )
2929 throw NSError ( domain: " 0 " , code: 0 )
3030 }
31-
31+
3232 let addresses = try keystore. getAddressForAccount ( password: password,
3333 number: addressesCount)
3434 XCTAssertEqual ( UInt ( addresses. count) , addressesCount)
3535 XCTAssertNotEqual ( addresses [ 11 ] , addresses [ 1 ] )
36-
36+
3737 guard let sameKeystore = try BIP32Keystore (
3838 mnemonics: mnemonic,
3939 password: password,
@@ -43,7 +43,7 @@ class BIP32KeystoreTests: XCTestCase {
4343 XCTFail ( " Keystore has not generated " )
4444 throw NSError ( domain: " 0 " , code: 0 )
4545 }
46-
46+
4747 let walletNumber = addressesCount - 1
4848 try sameKeystore. createNewCustomChildAccount ( password: password,
4949 path: HDNode . defaultPathMetamaskPrefix + " / \( walletNumber) " )
You can’t perform that action at this time.
0 commit comments