Skip to content

Commit

Permalink
Merge branch 'main' of github.com:WalletConnect/WalletConnectSwiftV2 …
Browse files Browse the repository at this point in the history
…into develop
  • Loading branch information
llbartekll committed Jul 26, 2022
2 parents 1deffb3 + 590318e commit aadcb1a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Wallet Connect v.2 - Swift

![CI main](https://github.com/WalletConnect/WalletConnectSwiftV2/actions/workflows/ci.yml/badge.svg?branch=main)
![CI develop](https://github.com/WalletConnect/WalletConnectSwiftV2/actions/workflows/ci.yml/badge.svg?branch=develop)

Swift implementation of WalletConnect v.2 protocol for native iOS applications.
## Requirements
- iOS 13
Expand Down Expand Up @@ -27,4 +31,3 @@ open `Example/ExampleApp.xcodeproj`
## License

Apache 2.0

4 changes: 2 additions & 2 deletions Sources/WalletConnectSign/Engine/Controller/PairEngine.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ actor PairEngine {
}
var pairing = WCPairing(uri: uri)
try await networkingInteractor.subscribe(topic: pairing.topic)
let symKey = try! SymmetricKey(hex: uri.symKey) // FIXME: Malformed QR code from external source can crash the SDK
try! kms.setSymmetricKey(symKey, for: pairing.topic)
let symKey = try SymmetricKey(hex: uri.symKey)
try kms.setSymmetricKey(symKey, for: pairing.topic)
pairing.activate()
pairingStore.setPairing(pairing)
}
Expand Down

0 comments on commit aadcb1a

Please sign in to comment.