Skip to content

Commit

Permalink
update to fixed multimult version
Browse files Browse the repository at this point in the history
  • Loading branch information
Funkatronics committed Jun 10, 2024
1 parent 1f05bc6 commit 8415ae3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ kotlinx-coroutines-test = { group = "org.jetbrains.kotlinx", name = "kotlinx-cor
ktor-client-core = { group = "io.ktor", name = "ktor-client-core", version.ref = "ktor" }
ktor-client-cio = { group = "io.ktor", name = "ktor-client-cio", version.ref = "ktor" }
ktor-client-mock = { group = "io.ktor", name = "ktor-client-mock", version.ref = "ktor" }
multimult = { group = "io.github.funkatronics", name = "multimult", version = "0.2.1" }
multimult = { group = "io.github.funkatronics", name = "multimult", version = "0.2.2" }
web3-solana = { group = "com.solanamobile", name = "web3-solana", version = "0.3.0-beta3" }

[plugins]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ package com.solana.networking
import com.solana.rpccore.*
import kotlinx.serialization.KSerializer
import kotlinx.serialization.json.Json
import kotlinx.serialization.modules.SerializersModule
import kotlinx.serialization.modules.polymorphic
import kotlinx.serialization.modules.subclass

class Rpc20Driver(private val url: String,
private val httpDriver: HttpNetworkDriver,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,7 @@ class SolanaRpcClient(
params = buildJsonArray {
add(when (options.encoding) {
Encoding.base58 -> Base58.encodeToString(transaction.serialize())
Encoding.base64 -> Base64.getEncoder(true)
.encodeToString(transaction.serialize())
Encoding.base64 -> Base64.encodeToString(transaction.serialize())
})
addJsonObject {
put("encoding", options.encoding.getEncoding())
Expand Down

0 comments on commit 8415ae3

Please sign in to comment.