diff options
author | Russell Yanofsky <russ@yanofsky.org> | 2018-03-23 17:14:39 -0400 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2018-04-04 16:52:40 -0400 |
commit | 3cab2ce5f9e159ad5a2e9ed682f28121b5248580 (patch) | |
tree | 950fa12e412b37d37e9df5e0487b70ee162c6ea6 /src/interface/node.cpp | |
parent | 3ec2ebcd9b4beb4277f1f4791c6acbc538784f70 (diff) | |
download | bitcoin-3cab2ce5f9e159ad5a2e9ed682f28121b5248580.tar.xz |
Remove direct bitcoin calls from qt/paymentserver.cpp
Diffstat (limited to 'src/interface/node.cpp')
-rw-r--r-- | src/interface/node.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interface/node.cpp b/src/interface/node.cpp index 1bd7e48b05..0e6bc4a785 100644 --- a/src/interface/node.cpp +++ b/src/interface/node.cpp @@ -56,6 +56,7 @@ class NodeImpl : public Node bool softSetArg(const std::string& arg, const std::string& value) override { return gArgs.SoftSetArg(arg, value); } bool softSetBoolArg(const std::string& arg, bool value) override { return gArgs.SoftSetBoolArg(arg, value); } void selectParams(const std::string& network) override { SelectParams(network); } + std::string getNetwork() override { return Params().NetworkIDString(); } void initLogging() override { InitLogging(); } void initParameterInteraction() override { InitParameterInteraction(); } std::string getWarnings(const std::string& type) override { return GetWarnings(type); } |