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/BIP44.swift
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -7,9 +7,9 @@ import Foundation
7
7
8
8
publicprotocolBIP44{
9
9
/**
10
-
Derive an ``HDNode`` based on the provided path. The function will throw ``BIP44Error.warning`` if it was invoked with throwOnWarning equal to
11
-
`true` and the root key doesn't have a previous child with at least one transaction. If it is invoked with throwOnError equal to `false` the child node will be
12
-
derived directly using the derive function of ``HDNode``. This function needs to query the blockchain history when throwOnWarning is `true`, so it can throw
10
+
Derive an ``HDNode`` based on the provided path. The function will throw ``BIP44Error.warning`` if it was invoked with `throwOnWarning` equal to
11
+
`true` and the root key doesn't have a previous child with at least one transaction. If it is invoked with `throwOnWarning` equal to `false` the child node will be
12
+
derived directly using the derive function of ``HDNode``. This function needs to query the blockchain history when `throwOnWarning` is `true`, so it can throw
13
13
network errors.
14
14
- Parameter path: valid BIP44 path.
15
15
- Parameter throwOnWarning: `true` to use
@@ -41,7 +41,7 @@ public protocol TransactionChecker {
41
41
- Throws: any error related to query the blockchain provider
42
42
- Returns: `true` if the address has at least one transaction, `false` otherwise
0 commit comments