diff --git a/core/android/src/main/kotlin/com/reown/android/internal/common/json_rpc/domain/relay/RelayJsonRpcInteractor.kt b/core/android/src/main/kotlin/com/reown/android/internal/common/json_rpc/domain/relay/RelayJsonRpcInteractor.kt index c52ba31bb..9e15724e8 100644 --- a/core/android/src/main/kotlin/com/reown/android/internal/common/json_rpc/domain/relay/RelayJsonRpcInteractor.kt +++ b/core/android/src/main/kotlin/com/reown/android/internal/common/json_rpc/domain/relay/RelayJsonRpcInteractor.kt @@ -360,7 +360,6 @@ internal class RelayJsonRpcInteractor( storePushRequestsIfEnabled(relayRequest, topic) Subscription(decryptMessage(topic, relayRequest), relayRequest.message, topic, relayRequest.publishedAt, relayRequest.attestation) }.collect { subscription -> - println("kobe: Message: ${subscription.decryptedMessage}") if (subscription.decryptedMessage.isNotEmpty()) { try { manageSubscriptions(subscription) diff --git a/foundation/src/main/kotlin/com/reown/foundation/network/BaseRelayClient.kt b/foundation/src/main/kotlin/com/reown/foundation/network/BaseRelayClient.kt index 30c3b46ee..ea382d83e 100644 --- a/foundation/src/main/kotlin/com/reown/foundation/network/BaseRelayClient.kt +++ b/foundation/src/main/kotlin/com/reown/foundation/network/BaseRelayClient.kt @@ -123,9 +123,7 @@ abstract class BaseRelayClient : RelayInterface { val publishParams = RelayDTO.Publish.Request.Params(Topic(topic), message, Ttl(ttl), tag, prompt, correlationId, rpcMethods, chainId, txHashes, contractAddresses) val publishRequest = RelayDTO.Publish.Request(id = id ?: generateClientToServerId(), params = publishParams) observePublishResult(publishRequest.id, onResult) - println("kobe: IRN publish: $publishRequest") - relayService.publishRequest(publishRequest) } }, diff --git a/protocol/sign/src/main/kotlin/com/reown/sign/engine/model/tvf/TVF.kt b/protocol/sign/src/main/kotlin/com/reown/sign/engine/model/tvf/TVF.kt index 29ebfdb1c..eab131bf8 100644 --- a/protocol/sign/src/main/kotlin/com/reown/sign/engine/model/tvf/TVF.kt +++ b/protocol/sign/src/main/kotlin/com/reown/sign/engine/model/tvf/TVF.kt @@ -23,11 +23,7 @@ class TVF(private val moshi: Moshi) { ?.firstOrNull() ?.to ?.let { listOf(it) } - ?: listOf("") - }.getOrElse { - println("Error parsing rpcParams: $it") - listOf("") - } + }.getOrNull() } else -> null @@ -61,7 +57,7 @@ class TVF(private val moshi: Moshi) { else -> null } } catch (e: Exception) { - println("kobe: error processing $rpcMethod - $e") + println("error processing $rpcMethod - $e") null } } diff --git a/protocol/sign/src/test/kotlin/com/reown/sign/tvf/TVFTests.kt b/protocol/sign/src/test/kotlin/com/reown/sign/tvf/TVFTests.kt index d19284c76..5bb7ab5b8 100644 --- a/protocol/sign/src/test/kotlin/com/reown/sign/tvf/TVFTests.kt +++ b/protocol/sign/src/test/kotlin/com/reown/sign/tvf/TVFTests.kt @@ -58,7 +58,7 @@ class TVFTests { // Assert assertNotNull(result) assertEquals(listOf("eth_sendTransaction"), result?.first) - assertEquals(listOf(""), result?.second) + assertEquals(null, result?.second) assertEquals("1", result?.third) }