Skip to content

Commit c103517

Browse files
chore: static constants marked as let
1 parent 709e422 commit c103517

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Sources/Web3Core/KeystoreManager/BIP32HDNode.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,12 +117,12 @@ public class HDNode {
117117
childNumber = UInt32(0)
118118
}
119119

120-
private static var curveOrder = BigUInt("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141", radix: 16)!
121-
public static var defaultPath: String = "m/44'/60'/0'/0"
122-
public static var defaultPathPrefix: String = "m/44'/60'/0'"
123-
public static var defaultPathMetamask: String = "m/44'/60'/0'/0/0"
124-
public static var defaultPathMetamaskPrefix: String = "m/44'/60'/0'/0"
125-
public static var hardenedIndexPrefix: UInt32 { Self.maxIterationIndex }
120+
private static let curveOrder = BigUInt("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141", radix: 16)!
121+
public static let defaultPath = "m/44'/60'/0'/0"
122+
public static let defaultPathPrefix = "m/44'/60'/0'"
123+
public static let defaultPathMetamask = "m/44'/60'/0'/0/0"
124+
public static let defaultPathMetamaskPrefix = "m/44'/60'/0'/0"
125+
public static let hardenedIndexPrefix: UInt32 { Self.maxIterationIndex }
126126
}
127127

128128
extension HDNode {

0 commit comments

Comments
 (0)