mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-22 22:38:53 +00:00
core_rpc_server: add a getter for the testnet flag
This commit is contained in:
parent
754f863a7e
commit
d09be116c6
@ -67,6 +67,7 @@ namespace cryptonote
|
||||
bool init(
|
||||
const boost::program_options::variables_map& vm
|
||||
);
|
||||
bool is_testnet() const { return m_testnet; }
|
||||
|
||||
CHAIN_HTTP_TO_MAP2(connection_context); //forward http requests to uri map
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user