Skip to content

Commit 4e48da8

Browse files
Move APIResultType conformance to method implementation (more appropriate place).
1 parent c8eae13 commit 4e48da8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/web3swift/API/HexDecodableProtocols.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ extension Array: APIResultType where Element: APIResultType { }
1414

1515
extension String: APIResultType { }
1616

17-
extension Bool: APIResultType { }
18-
1917
/// This is utility protocol for decoding API Responses
2018
///
2119
/// You better not use it in any other part of a bit of code except `APIResponse<T>` decoding.

Sources/web3swift/EthereumAPICalls/Personal/Personal+UnlockAccount.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,5 @@ extension web3.Personal {
2323
return response.result
2424
}
2525
}
26+
27+
extension Bool: APIResultType { }

0 commit comments

Comments
 (0)