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 db36a92 commit be82139Copy full SHA for be82139
src/bitcoin-cli.cpp
@@ -404,7 +404,7 @@ class NetinfoRequestHandler : public BaseRequestHandler
404
return UNKNOWN_NETWORK;
405
}
406
uint8_t m_details_level{0}; //!< Optional user-supplied arg to set dashboard details level
407
- bool DetailsRequested() const { return m_details_level > 0 && m_details_level < 5; }
+ bool DetailsRequested() const { return m_details_level; }
408
bool IsAddressSelected() const { return m_details_level == 2 || m_details_level == 4; }
409
bool IsVersionSelected() const { return m_details_level == 3 || m_details_level == 4; }
410
bool m_outbound_only_selected{false};
0 commit comments