File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
apps/flipcash/shared/pools/src/main/kotlin/com/flipcash/app/pools Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -25,8 +25,6 @@ import com.flipcash.services.user.UserManager
25
25
import com.getcode.ed25519.Ed25519.KeyPair
26
26
import com.getcode.opencode.controllers.AccountController
27
27
import com.getcode.opencode.model.accounts.AccountFilter
28
- import com.getcode.opencode.model.accounts.AccountInfo
29
- import com.getcode.opencode.model.accounts.AccountType
30
28
import com.getcode.opencode.model.core.ID
31
29
import com.getcode.opencode.model.financial.Fiat
32
30
import kotlinx.coroutines.ExperimentalCoroutinesApi
@@ -47,7 +45,6 @@ class PoolsCoordinator @Inject constructor(
47
45
private val dataSource : PoolDataSource ,
48
46
private val entityToDomainMapper : PoolEntityToPoolMapper ,
49
47
private val networkToDomainMapper : NetworkPoolToDomainMapper ,
50
- private val domainToNetworkMapper : PoolToMetadataMapper ,
51
48
private val userManager : UserManager ,
52
49
) {
53
50
private val pagingConfig = PagingConfig (pageSize = 20 )
@@ -178,7 +175,7 @@ class PoolsCoordinator @Inject constructor(
178
175
.fold(
179
176
onSuccess = {
180
177
controller.resolvePool(
181
- pool = domainToNetworkMapper.map(pool) ,
178
+ pool = it.metadata ,
182
179
rendezvous = rendezvous,
183
180
resolution = PoolResolutionConverter .toPoolResolution(resolution as PoolResolution ),
184
181
)
You can’t perform that action at this time.
0 commit comments