diff --git a/lib/new-admin/config/accounts.js b/lib/new-admin/config/accounts.js index 0c7c2bb2..a080460f 100644 --- a/lib/new-admin/config/accounts.js +++ b/lib/new-admin/config/accounts.js @@ -22,6 +22,7 @@ const ALL_ACCOUNTS = [ { code: 'bitcoind', display: 'bitcoind', class: WALLET, cryptos: [BTC] }, { code: 'no-layer2', display: 'No Layer 2', class: LAYER_2, cryptos: ALL_CRYPTOS }, { code: 'infura', display: 'Infura', class: WALLET, cryptos: [ETH] }, + { code: 'geth', display: 'geth', class: WALLET, cryptos: [ETH] }, { code: 'zcashd', display: 'zcashd', class: WALLET, cryptos: [ZEC] }, { code: 'litecoind', display: 'litecoind', class: WALLET, cryptos: [LTC] }, { code: 'dashd', display: 'dashd', class: WALLET, cryptos: [DASH] }, diff --git a/new-lamassu-admin/src/pages/Wallet/Wizard.js b/new-lamassu-admin/src/pages/Wallet/Wizard.js index 4dbeb134..1f37cdfc 100644 --- a/new-lamassu-admin/src/pages/Wallet/Wizard.js +++ b/new-lamassu-admin/src/pages/Wallet/Wizard.js @@ -15,9 +15,10 @@ const contains = crypto => R.compose(R.contains(crypto), R.prop('cryptos')) const sameClass = type => R.propEq('class', type) const filterConfig = (crypto, type) => R.filter(it => sameClass(type)(it) && contains(crypto)(it)) +const removeGethOption = R.filter(config => config.code !== 'geth') const getItems = (accountsConfig, accounts, type, crypto) => { - const fConfig = filterConfig(crypto, type)(accountsConfig) + const fConfig = removeGethOption(filterConfig(crypto, type)(accountsConfig)) const find = code => accounts && accounts[code] const [filled, unfilled] = R.partition(({ code }) => {