Skip to content

Commit 84728f0

Browse files
committed
fix: CI should formatting code
1 parent 8286dfb commit 84728f0

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

web3swift/src/Client/Models/EthereumBlockInfo.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
// Copyright © 2022 Argent Labs Limited. All rights reserved.
44
//
55

6-
import Foundation
76
import BigInt
7+
import Foundation
88

99
public struct EthereumBlockInfo: Equatable {
1010
public var number: EthereumBlock
@@ -40,15 +40,15 @@ extension EthereumBlockInfo: Codable {
4040
guard let transactions = try? container.decode([String].self, forKey: .transactions) else {
4141
throw JSONRPCError.decodingError
4242
}
43-
43+
4444
guard let gasLimit = try? container.decode(String.self, forKey: .gasLimit) else {
4545
throw JSONRPCError.decodingError
4646
}
47-
47+
4848
guard let gasUsed = try? container.decode(String.self, forKey: .gasUsed) else {
4949
throw JSONRPCError.decodingError
5050
}
51-
51+
5252
let baseFeePerGas = try? container.decode(String.self, forKey: .baseFeePerGas)
5353

5454
self.number = number

web3swift/src/Client/NetworkProviders/HttpNetworkProvider.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public class HttpNetworkProvider: NetworkProviderProtocol {
1313
public let session: URLSession
1414
private let url: URL
1515
private let headers: [String: String]
16-
16+
1717
public init(session: URLSession, url: URL, headers: [String: String]? = nil) {
1818
self.session = session
1919
self.url = url
@@ -38,7 +38,7 @@ public class HttpNetworkProvider: NetworkProviderProtocol {
3838
headers.forEach { key, value in
3939
request.addValue(value, forHTTPHeaderField: key)
4040
}
41-
41+
4242
let id = 1
4343
let rpcRequest = JSONRPCRequest(jsonrpc: "2.0", method: method, params: params, id: id)
4444
guard let encoded = try? JSONEncoder().encode(rpcRequest) else {

0 commit comments

Comments
 (0)