File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
walletconnect/src/main/java/com/trustwallet/walletconnect Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -306,7 +306,7 @@ open class WCClient (
306
306
}
307
307
}
308
308
309
- open fun subscribe (topic : String ): Boolean {
309
+ private fun subscribe (topic : String ): Boolean {
310
310
val message = WCSocketMessage (
311
311
topic = topic,
312
312
type = MessageType .SUB ,
@@ -318,7 +318,7 @@ open class WCClient (
318
318
return socket?.send(gson.toJson(message)) ? : false
319
319
}
320
320
321
- open fun encryptAndSend (result : String ): Boolean {
321
+ private fun encryptAndSend (result : String ): Boolean {
322
322
Log .d(TAG ," ==> message $result " )
323
323
val session = this .session ? : throw IllegalStateException (" session can't be null on message send" )
324
324
val payload = gson.toJson(encrypt(result.toByteArray(Charsets .UTF_8 ), session.key.hexStringToByteArray()))
You can’t perform that action at this time.
0 commit comments