Merge pull request #684 from Shaman37/fix_confidence

fix: rename 'zero-conf' to 'confidence checking'
This commit is contained in:
Rafael Taranto 2021-04-30 17:53:29 +01:00 committed by GitHub
commit e27fb42d03
2 changed files with 4 additions and 3 deletions

View file

@ -38,8 +38,8 @@ const ALL_ACCOUNTS = [
{ code: 'mock-id-verify', display: 'Mock ID verifier', class: ID_VERIFIER, dev: true },
{ code: 'twilio', display: 'Twilio', class: SMS },
{ code: 'mailgun', display: 'Mailgun', class: EMAIL },
{ code: 'all-zero-conf', display: 'Always 0-conf', class: ZERO_CONF, cryptos: [BTC, ZEC, LTC, DASH, BCH] },
{ code: 'no-zero-conf', display: 'Always 1-conf', class: ZERO_CONF, cryptos: [ETH] },
{ code: 'all-zero-conf', display: 'None', class: ZERO_CONF, cryptos: [BTC, ZEC, LTC, DASH, BCH] },
{ code: 'no-zero-conf', display: 'None', class: ZERO_CONF, cryptos: [ETH] },
{ code: 'blockcypher', display: 'Blockcypher', class: ZERO_CONF, cryptos: [BTC] },
{ code: 'mock-zero-conf', display: 'Mock 0-conf', class: ZERO_CONF, cryptos: [BTC, ZEC, LTC, DASH, BCH, ETH], dev: true }
]

View file

@ -88,11 +88,12 @@ const getElements = (cryptoCurrencies, accounts, onChange, wizard = false) => {
},
{
name: 'zeroConf',
header: 'Confidence Checking',
size: 'sm',
stripe: true,
view: getDisplayName('zeroConf'),
input: Autocomplete,
width: 190 - widthAdjust,
width: 220 - widthAdjust,
inputProps: {
options: getOptions('zeroConf'),
valueProp: 'code',