Merge pull request #1529 from CrypticaScriptura/commission-limits2
LAM-863 feat: allow for negative commissions
This commit is contained in:
commit
203193608d
2 changed files with 12 additions and 12 deletions
|
|
@ -25,16 +25,16 @@ const BINARIES = {
|
|||
BTC: {
|
||||
defaultUrl: 'https://bitcoincore.org/bin/bitcoin-core-0.20.1/bitcoin-0.20.1-x86_64-linux-gnu.tar.gz',
|
||||
defaultDir: 'bitcoin-0.20.1/bin',
|
||||
url: 'https://bitcoincore.org/bin/bitcoin-core-23.0/bitcoin-23.0-x86_64-linux-gnu.tar.gz',
|
||||
dir: 'bitcoin-23.0/bin'
|
||||
url: 'https://bitcoincore.org/bin/bitcoin-core-23.1/bitcoin-23.1-x86_64-linux-gnu.tar.gz',
|
||||
dir: 'bitcoin-23.1/bin'
|
||||
},
|
||||
ETH: {
|
||||
url: 'https://gethstore.blob.core.windows.net/builds/geth-linux-amd64-1.10.26-e5eb32ac.tar.gz',
|
||||
dir: 'geth-linux-amd64-1.10.26-e5eb32ac'
|
||||
url: 'https://gethstore.blob.core.windows.net/builds/geth-linux-amd64-1.11.5-a38f4108.tar.gz',
|
||||
dir: 'geth-linux-amd64-1.11.5-a38f4108'
|
||||
},
|
||||
ZEC: {
|
||||
url: 'https://z.cash/downloads/zcash-5.3.2-linux64-debian-bullseye.tar.gz',
|
||||
dir: 'zcash-5.3.2/bin'
|
||||
url: 'https://z.cash/downloads/zcash-5.4.2-linux64-debian-bullseye.tar.gz',
|
||||
dir: 'zcash-5.4.2/bin'
|
||||
},
|
||||
DASH: {
|
||||
url: 'https://github.com/dashpay/dash/releases/download/v18.1.0/dashcore-18.1.0-x86_64-linux-gnu.tar.gz',
|
||||
|
|
@ -43,8 +43,8 @@ const BINARIES = {
|
|||
LTC: {
|
||||
defaultUrl: 'https://download.litecoin.org/litecoin-0.18.1/linux/litecoin-0.18.1-x86_64-linux-gnu.tar.gz',
|
||||
defaultDir: 'litecoin-0.18.1/bin',
|
||||
url: 'https://download.litecoin.org/litecoin-0.21.2.1/linux/litecoin-0.21.2.1-x86_64-linux-gnu.tar.gz',
|
||||
dir: 'litecoin-0.21.2.1/bin'
|
||||
url: 'https://download.litecoin.org/litecoin-0.21.2.2/linux/litecoin-0.21.2.2-x86_64-linux-gnu.tar.gz',
|
||||
dir: 'litecoin-0.21.2.2/bin'
|
||||
},
|
||||
BCH: {
|
||||
url: 'https://github.com/bitcoin-cash-node/bitcoin-cash-node/releases/download/v26.0.0/bitcoin-cash-node-26.0.0-x86_64-linux-gnu.tar.gz',
|
||||
|
|
@ -52,8 +52,8 @@ const BINARIES = {
|
|||
files: [['bitcoind', 'bitcoincashd'], ['bitcoin-cli', 'bitcoincash-cli']]
|
||||
},
|
||||
XMR: {
|
||||
url: 'https://downloads.getmonero.org/cli/monero-linux-x64-v0.18.1.2.tar.bz2',
|
||||
dir: 'monero-x86_64-linux-gnu-v0.18.1.2',
|
||||
url: 'https://downloads.getmonero.org/cli/monero-linux-x64-v0.18.2.0.tar.bz2',
|
||||
dir: 'monero-x86_64-linux-gnu-v0.18.2.0',
|
||||
files: [['monerod', 'monerod'], ['monero-wallet-rpc', 'monero-wallet-rpc']]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -235,12 +235,12 @@ const getSchema = locale => {
|
|||
return Yup.object().shape({
|
||||
cashIn: Yup.number()
|
||||
.label('Cash-in')
|
||||
.min(0)
|
||||
.min(-15)
|
||||
.max(percentMax)
|
||||
.required(),
|
||||
cashOut: Yup.number()
|
||||
.label('Cash-out')
|
||||
.min(0)
|
||||
.min(-15)
|
||||
.max(percentMax)
|
||||
.required(),
|
||||
fixedFee: Yup.number()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue