Skip to content

Commit c229caf

Browse files
committed
chore(onramp): make orders inclusive of fees
we are invoiced for fees at EOM Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
1 parent b71b7b8 commit c229caf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • apps/flipcash/features/onramp/src/main/kotlin/com/flipcash/app/onramp/internal

apps/flipcash/features/onramp/src/main/kotlin/com/flipcash/app/onramp/internal/OnRampViewModel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ internal class OnRampViewModel @Inject constructor(
450450
is OnRampProvider.Coinbase -> {
451451
when (provider.type) {
452452
OnRampType.Virtual -> {
453-
onRampController.placeOrderExclusiveOfFees(selectedAmount.underlyingTokenAmount)
453+
onRampController.placeOrderInclusiveOfFees(selectedAmount.underlyingTokenAmount)
454454
.onSuccess {
455455
dispatchEvent(Event.OnOrderCreated(it.first, it.second.url))
456456
}.onFailure { error ->

0 commit comments

Comments
 (0)