Skip to content

Commit fec0bc0

Browse files
Little code formatting
1 parent 6611999 commit fec0bc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/web3swift/API/APIMethod.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ extension APIRequest {
245245
if Result.self == UInt.self || Result.self == Int.self || Result.self == BigInt.self || Result.self == BigUInt.self {
246246
/// This types for sure conformed with `LiteralInitiableFromString`
247247
// FIXME: Make appropriate error
248-
guard let U = Result.self as? LiteralInitiableFromString.Type else { throw Web3Error.unknownError}
248+
guard let U = Result.self as? LiteralInitiableFromString.Type else { throw Web3Error.unknownError }
249249
let responseAsString = try! JSONDecoder().decode(APIResponse<String>.self, from: data)
250250
// FIXME: Add appropriate error thrown.
251251
guard let literalValue = U.init(from: responseAsString.result) else { throw Web3Error.unknownError }

0 commit comments

Comments
 (0)