mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-02-23 15:14:49 +01:00
coinswitchAmountDue always returning 1.025 possible fix
This commit is contained in:
@@ -182,7 +182,7 @@
|
||||
computed: {
|
||||
coinswitchAmountDue: function() {
|
||||
return this.srvModel.coinSwitchAmountMarkupPercentage
|
||||
? (1 + (this.srvModel.coinSwitchAmountMarkupPercentage / 100))
|
||||
? this.srvModel.btcDue * (1 + (this.srvModel.coinSwitchAmountMarkupPercentage / 100))
|
||||
: this.srvModel.btcDue;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user