fix: add default values for zeroConf and zeroConfLimit on the initial setup
This commit is contained in:
parent
293fc06d4b
commit
a83df77a25
2 changed files with 2 additions and 2 deletions
|
|
@ -86,7 +86,7 @@ const Blockcypher = ({ addData }) => {
|
|||
{selected === 'disable' && (
|
||||
<Button
|
||||
size="lg"
|
||||
onClick={() => addData({ zeroConf: 'all-zero-conf' })}
|
||||
onClick={() => addData({ zeroConf: 'none', zeroConfLimit: 0 })}
|
||||
className={classes.button}>
|
||||
Continue
|
||||
</Button>
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ const ChooseCoin = ({ addData }) => {
|
|||
if (!schema.isValidSync(it)) return setError(true)
|
||||
|
||||
if (it.coin !== 'BTC') {
|
||||
return addData({ coin: it.coin, zeroConf: 'all-zero-conf' })
|
||||
return addData({ coin: it.coin, zeroConf: 'none', zeroConfLimit: 0 })
|
||||
}
|
||||
|
||||
addData(it)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue