From 6147d81cc58fd4685d9f3f02f79f7a8bd89e1708 Mon Sep 17 00:00:00 2001 From: Doyle T Date: Wed, 2 May 2018 11:29:47 +1000 Subject: [PATCH] Fix use of persistentSettings.testnet to nettype --- pages/Settings.qml | 2 +- pages/Transfer.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/Settings.qml b/pages/Settings.qml index 231c2d79..17ec00df 100644 --- a/pages/Settings.qml +++ b/pages/Settings.qml @@ -51,7 +51,7 @@ Rectangle { console.log("Settings page loaded"); if(typeof daemonManager != "undefined"){ - appWindow.daemonRunning = persistentSettings.useRemoteNode ? false : daemonManager.running(persistentSettings.testnet); + appWindow.daemonRunning = persistentSettings.useRemoteNode ? false : daemonManager.running(persistentSettings.nettype); } logLevelDropdown.update() diff --git a/pages/Transfer.qml b/pages/Transfer.qml index 68c95f71..0279bb01 100644 --- a/pages/Transfer.qml +++ b/pages/Transfer.qml @@ -287,7 +287,7 @@ Rectangle { if (result) { var parts = result.split("|") if (parts.length == 2) { - var address_ok = walletManager.addressValid(parts[1], appWindow.persistentSettings.testnet) + var address_ok = walletManager.addressValid(parts[1], appWindow.persistentSettings.nettype) if (parts[0] === "true") { if (address_ok) { addressLine.text = parts[1]