mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-23 03:59:29 +00:00
Fix stagnet/testnet mode
This commit is contained in:
parent
f005e4643b
commit
3442c4fc69
2 changed files with 9 additions and 2 deletions
8
src/constants.cpp
Normal file
8
src/constants.cpp
Normal file
|
@ -0,0 +1,8 @@
|
|||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// Copyright (c) 2020-2021, The Monero Project.
|
||||
|
||||
#include "constants.h"
|
||||
|
||||
namespace constants {
|
||||
NetworkType::Type networkType = NetworkType::Type::MAINNET;
|
||||
};
|
|
@ -11,8 +11,7 @@
|
|||
|
||||
namespace constants
|
||||
{
|
||||
// application constants
|
||||
static NetworkType::Type networkType; // TODO: compiler moans, also not really a const
|
||||
extern NetworkType::Type networkType; // TODO: not really a const
|
||||
|
||||
// coin constants
|
||||
const std::string coinName = "monero";
|
||||
|
|
Loading…
Reference in a new issue