We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90b733a commit c9b8211Copy full SHA for c9b8211
src/bitcoinapi/bitcoinapi.cpp
@@ -140,7 +140,7 @@ vector<nodeinfo_t> BitcoinAPI::getaddednodeinfo(bool dns) {
140
net.address = val2["address"].asString();
141
142
//TODO: Bug in here. Always shows true instead of false.
143
- net.connected = val2["connected"].asBool();
+ net.connected = val2["connected"].asString();
144
145
node.addresses.push_back(net);
146
}
src/bitcoinapi/types.h
@@ -38,7 +38,7 @@
38
/* === Node types === */
39
struct netaddress_t{
40
std::string address;
41
- bool connected;
+ std::string connected;
42
};
43
44
struct nodeinfo_t{
0 commit comments