mirror of
https://github.com/feather-wallet/feather.git
synced 2025-01-08 20:09:43 +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
|
namespace constants
|
||||||
{
|
{
|
||||||
// application constants
|
extern NetworkType::Type networkType; // TODO: not really a const
|
||||||
static NetworkType::Type networkType; // TODO: compiler moans, also not really a const
|
|
||||||
|
|
||||||
// coin constants
|
// coin constants
|
||||||
const std::string coinName = "monero";
|
const std::string coinName = "monero";
|
||||||
|
|
Loading…
Reference in a new issue