Skip to content

Commit

Permalink
Build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
flypaper0 committed Sep 23, 2022
1 parent 87006a7 commit eb1ce87
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Example/IntegrationTests/Pairing/PairingTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ final class PairingTests: XCTestCase {
}

func testProposePushOnPairing() async throws {
let exp = expectation(description: "testProposePushOnPairing")
let exp = expectation(description: "testProposePushOnPairing")

walletPushClient.proposalPublisher.sink { _ in
exp.fulfill()
Expand Down
2 changes: 1 addition & 1 deletion Sources/WalletConnectPairing/Push/PushClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ private extension PushClient {

networkInteractor.responseErrorSubscription(on: PushProtocolMethod.propose)
.sink { [unowned self] (payload: ResponseSubscriptionErrorPayload<PushRequestParams>) in
print("error")
logger.error(payload.error.localizedDescription)
}.store(in: &publishers)

networkInteractor.requestSubscription(on: PushProtocolMethod.propose)
Expand Down
2 changes: 1 addition & 1 deletion Tests/TestingUtils/NetworkingInteractorMock.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class NetworkingInteractorMock: NetworkInteracting {
public let requestPublisherSubject = PassthroughSubject<(topic: String, request: RPCRequest), Never>()
public let responsePublisherSubject = PassthroughSubject<(topic: String, request: RPCRequest, response: RPCResponse), Never>()

private var requestPublisher: AnyPublisher<(topic: String, request: RPCRequest), Never> {
public var requestPublisher: AnyPublisher<(topic: String, request: RPCRequest), Never> {
requestPublisherSubject.eraseToAnyPublisher()
}

Expand Down

0 comments on commit eb1ce87

Please sign in to comment.