Skip to content

Commit a6bc895

Browse files
committed
make async await apis public
1 parent f89cf70 commit a6bc895

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web3swift/src/ENS/EthereumNameService.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public class EthereumNameService: EthereumNameServiceProtocol {
154154

155155
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
156156
extension EthereumNameService {
157-
func resolve(address: EthereumAddress) async throws -> String {
157+
public func resolve(address: EthereumAddress) async throws -> String {
158158
return try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<String, Error>) in
159159
resolve(address: address) { error, ensHex in
160160
if let error = error {
@@ -166,7 +166,7 @@ extension EthereumNameService {
166166
}
167167
}
168168

169-
func resolve(ens: String) async throws -> EthereumAddress {
169+
public func resolve(ens: String) async throws -> EthereumAddress {
170170
return try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<EthereumAddress, Error>) in
171171
resolve(ens: ens) { error, address in
172172
if let error = error {

0 commit comments

Comments
 (0)