Skip to content

Commit

Permalink
Allow changing priv key address when in DEV mode
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdbng committed Nov 24, 2017
1 parent 9797110 commit acd1581
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/config/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default {

NETWORKS: {
BTC: DEV ? 'testnet' : 'bitcoin',
LTC: 'litecoin',
LTC: DEV ? 'testnet' : 'litecoin',
},

SYMBOL: {
Expand Down
4 changes: 2 additions & 2 deletions src/containers/ModalWalletNew.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import styles from './ModalWalletNew.style';
const imageBTC = require('../../assets/coin-bitcoin.png');
const imageLTC = require('../../assets/coin-litecoin.png');

const { CRYPTO: { BTC, LTC } } = C;
const { CRYPTO: { BTC, LTC }, DEV } = C;
const {
EN: {
CREATE, IMPORT, RECOVER, TYPE_OF_WALLET,
Expand Down Expand Up @@ -50,7 +50,7 @@ class ModalWalletNew extends Component {
_onCoin(coin) {
const { props: { camera, hexSeed } } = this;

if (camera) return;
if (camera && !DEV) return;
this.setState({
address: WalletService.addressFromHexSeed(hexSeed, coin),
coin,
Expand Down

0 comments on commit acd1581

Please sign in to comment.