aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/node.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2019-07-30 14:02:03 -0400
committerMarcoFalke <falke.marco@gmail.com>2019-07-30 13:53:21 -0400
commitfa5a4cd813c2f0225dcbc05cd16ae2d1c0d13234 (patch)
tree8ec8d33c3033873359cfa1c4e638c137845a0b17 /src/interfaces/node.cpp
parent74f1a27f2f45af7dafcc34df766cf76d29c7c6ed (diff)
gui: Generate bech32 addresses by default (take 2, fixup)
Diffstat (limited to 'src/interfaces/node.cpp')
-rw-r--r--src/interfaces/node.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interfaces/node.cpp b/src/interfaces/node.cpp
index fd2fb6531b..bcd226edd9 100644
--- a/src/interfaces/node.cpp
+++ b/src/interfaces/node.cpp
@@ -198,6 +198,7 @@ public:
return GuessVerificationProgress(Params().TxData(), tip);
}
bool isInitialBlockDownload() override { return ::ChainstateActive().IsInitialBlockDownload(); }
+ bool isAddressTypeSet() override { return !::gArgs.GetArg("-addresstype", "").empty(); }
bool getReindex() override { return ::fReindex; }
bool getImporting() override { return ::fImporting; }
void setNetworkActive(bool active) override