Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:WalletConnect/WalletConnectSwift…
Browse files Browse the repository at this point in the history
…V2 into push-unregister
  • Loading branch information
llbartekll committed Feb 20, 2024
2 parents c14171d + 1fcdc47 commit c6df64d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ actor WalletPairService {
enum Errors: Error {
case pairingAlreadyExist(topic: String)
case networkNotConnected
case noPendingRequest
}

let networkingInteractor: NetworkInteracting
Expand All @@ -30,7 +31,7 @@ actor WalletPairService {
logger.debug("Pairing with uri: \(uri)")
guard try !pairingHasPendingRequest(for: uri.topic) else {
logger.debug("Pairing with topic (\(uri.topic)) has pending request")
return
throw Errors.noPendingRequest
}

let pairing = WCPairing(uri: uri)
Expand Down

0 comments on commit c6df64d

Please sign in to comment.