Skip to content

Commit c8827b6

Browse files
chore: ran swiftlint --fix
1 parent 4ff3f35 commit c8827b6

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Sources/Web3Core/KeystoreManager/KeystoreParams.swift

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public struct KdfParamsV3: Codable {
1212
var r: Int?
1313
var c: Int?
1414
var prf: String?
15-
15+
1616
public init(salt: String, dklen: Int, n: Int? = nil, p: Int? = nil, r: Int? = nil, c: Int? = nil, prf: String? = nil) {
1717
self.salt = salt
1818
self.dklen = dklen
@@ -26,7 +26,7 @@ public struct KdfParamsV3: Codable {
2626

2727
public struct CipherParamsV3: Codable {
2828
var iv: String
29-
29+
3030
public init(iv: String) {
3131
self.iv = iv
3232
}
@@ -40,7 +40,7 @@ public struct CryptoParamsV3: Codable {
4040
var kdfparams: KdfParamsV3
4141
var mac: String
4242
var version: String?
43-
43+
4444
public init(ciphertext: String, cipher: String, cipherparams: CipherParamsV3, kdf: String, kdfparams: KdfParamsV3, mac: String, version: String? = nil) {
4545
self.ciphertext = ciphertext
4646
self.cipher = cipher
@@ -62,7 +62,7 @@ public protocol AbstractKeystoreParams: Codable {
6262
public struct PathAddressPair: Codable {
6363
public let path: String
6464
public let address: String
65-
65+
6666
public init(path: String, address: String) {
6767
self.path = path
6868
self.address = address
@@ -74,10 +74,10 @@ public struct KeystoreParamsBIP32: AbstractKeystoreParams {
7474
public var id: String?
7575
public var version: Int
7676
public var isHDWallet: Bool
77-
77+
7878
public var pathAddressPairs: [PathAddressPair]
7979
var rootPath: String?
80-
80+
8181
public init(crypto cr: CryptoParamsV3, id i: String, version ver: Int = 32, rootPath: String? = nil) {
8282
self.crypto = cr
8383
self.id = i
@@ -94,7 +94,7 @@ public struct KeystoreParamsV3: AbstractKeystoreParams {
9494
public var id: String?
9595
public var version: Int
9696
public var isHDWallet: Bool
97-
97+
9898
public init(address: String?, crypto: CryptoParamsV3, id: String, version: Int) {
9999
self.address = address
100100
self.crypto = crypto

0 commit comments

Comments
 (0)