diff --git a/src/js/components/logon.js b/src/js/components/logon.js index a1e0e6801..6a256a6a8 100644 --- a/src/js/components/logon.js +++ b/src/js/components/logon.js @@ -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...");