Skip to content

Commit

Permalink
Disable segwit on mainnet till block activation to avoid user confusion
Browse files Browse the repository at this point in the history
  • Loading branch information
chiguireitor committed Dec 21, 2018
1 parent f9e888e commit 9e88792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/components/wallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function WalletViewModel() {
self.addresses.push(new AddressViewModel(type, key, address, label)); //add new
$.jqlog.debug("Wallet address added: " + address + " -- hash: "
+ addressHash + " -- label: " + label + " -- index: " + i);
} else if (type == 'segwit') {
} else if (type == 'segwit' && (USE_TESTNET || USE_REGTEST)) {
//adds a key to the wallet, making a new address object on the wallet in the process
//(assets must still be attached to this address, with updateBalances() or other means...)
//also, a label should already exist for the address in PREFERENCES.address_aliases by the time this is called
Expand Down

0 comments on commit 9e88792

Please sign in to comment.