Skip to content

Commit

Permalink
Fix generation of segwit on unactivated mainnet servers
Browse files Browse the repository at this point in the history
  • Loading branch information
chiguireitor committed Dec 21, 2018
1 parent b987afd commit 5b48a00
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/js/components/logon.js
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,9 @@ function LogonViewModel() {
}

self.genSegwitAddress = function(mustSavePreferencesToServer, addressCount) {
if (!(USE_TESTNET || USE_REGTEST)) {
return self.openWalletPt3(mustSavePreferencesToServer);
}

var moreAddresses = [];
$.jqlog.info("Address discovery: Generating " + addressCount + " segwit addresses...");
Expand Down

0 comments on commit 5b48a00

Please sign in to comment.