Skip to content

Commit 9754aa4

Browse files
authored
Merge pull request #146 from reown-com/remove_subsribe_on_create
chore: remove subscribe on create
2 parents 465edb8 + 2a9794c commit 9754aa4

File tree

1 file changed

+0
-6
lines changed
  • core/android/src/main/kotlin/com/reown/android/pairing/engine/domain

1 file changed

+0
-6
lines changed

core/android/src/main/kotlin/com/reown/android/pairing/engine/domain/PairingEngine.kt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -135,12 +135,6 @@ internal class PairingEngine(
135135
logger.log("Creating Pairing")
136136
pairingRepository.insertPairing(this)
137137
metadataRepository.upsertPeerMetadata(this.topic, selfMetaData, AppMetaDataType.SELF)
138-
jsonRpcInteractor.subscribe(
139-
topic = this.topic,
140-
onSuccess = { logger.log("Pairing - subscribed on pairing topic: $pairingTopic") },
141-
onFailure = { error -> logger.error("Pairing - subscribed failure on pairing topic: $pairingTopic, error: $error") }
142-
)
143-
144138
this.toCore()
145139
}.onFailure { throwable ->
146140
try {

0 commit comments

Comments
 (0)