File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
app/src/main/java/to/bitkit/viewmodels Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ package to.bitkit.viewmodels
22
33import androidx.lifecycle.ViewModel
44import androidx.lifecycle.viewModelScope
5- import com.synonym.bitkitcore.IBtEstimateFeeResponse2
65import com.synonym.bitkitcore.IBtInfo
76import com.synonym.bitkitcore.IBtOrder
87import com.synonym.bitkitcore.IcJitEntry
@@ -51,20 +50,6 @@ class BlocktankViewModel @Inject constructor(
5150 return blocktankRepo.createCjit(amountSats).getOrThrow()
5251 }
5352
54- suspend fun createOrder (
55- spendingBalanceSats : ULong ,
56- receivingBalanceSats : ULong = spendingBalanceSats * 2u,
57- ): IBtOrder {
58- return blocktankRepo.createOrder(spendingBalanceSats, receivingBalanceSats).getOrThrow()
59- }
60-
61- suspend fun estimateOrderFee (
62- spendingBalanceSats : ULong ,
63- receivingBalanceSats : ULong ,
64- ): Result <IBtEstimateFeeResponse2 > {
65- return blocktankRepo.estimateOrderFee(spendingBalanceSats, receivingBalanceSats)
66- }
67-
6853 suspend fun openChannel (orderId : String ): IBtOrder {
6954 return blocktankRepo.openChannel(orderId).getOrThrow()
7055 }
You can’t perform that action at this time.
0 commit comments