diff --git a/src/commonMain/kotlin/exchange.dydx.abacus/processor/router/skip/SkipChainResourceProcessor.kt b/src/commonMain/kotlin/exchange.dydx.abacus/processor/router/skip/SkipChainResourceProcessor.kt index 97025fdc3..849a6b4cc 100644 --- a/src/commonMain/kotlin/exchange.dydx.abacus/processor/router/skip/SkipChainResourceProcessor.kt +++ b/src/commonMain/kotlin/exchange.dydx.abacus/processor/router/skip/SkipChainResourceProcessor.kt @@ -1,7 +1,6 @@ package exchange.dydx.abacus.processor.router.skip import exchange.dydx.abacus.output.input.TransferInputChainResource -import exchange.dydx.abacus.processor.base.BaseProcessor import exchange.dydx.abacus.protocols.ParserProtocol internal class SkipChainResourceProcessor(private val parser: ParserProtocol) { @@ -10,11 +9,11 @@ internal class SkipChainResourceProcessor(private val parser: ParserProtocol) { payload: Map ): TransferInputChainResource { return TransferInputChainResource( - chainName=parser.asString(payload["chain_name"]), - rpc=parser.asString(payload["rpc"]), - networkName=parser.asString(payload["networkName"]), - chainId=parser.asInt(payload["chain_id"]), - iconUrl=parser.asString(payload["logo_uri"]), + chainName = parser.asString(payload["chain_name"]), + rpc = parser.asString(payload["rpc"]), + networkName = parser.asString(payload["networkName"]), + chainId = parser.asInt(payload["chain_id"]), + iconUrl = parser.asString(payload["logo_uri"]), ) } } diff --git a/src/commonTest/kotlin/exchange.dydx.abacus/processor/router/skip/SkipProcessorTests.kt b/src/commonTest/kotlin/exchange.dydx.abacus/processor/router/skip/SkipProcessorTests.kt index 84456fdd9..465951928 100644 --- a/src/commonTest/kotlin/exchange.dydx.abacus/processor/router/skip/SkipProcessorTests.kt +++ b/src/commonTest/kotlin/exchange.dydx.abacus/processor/router/skip/SkipProcessorTests.kt @@ -43,7 +43,7 @@ class SkipProcessorTests { chainName = "Ethereum", chainId = 1, iconUrl = "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/info/logo.png", - ) + ), ) assertEquals(expectedChainResources, internalState.chainResources)