Skip to content

Commit

Permalink
Merge #855: Remove another mention of Liquid-Qt
Browse files Browse the repository at this point in the history
607cfc3 Remove another mention of Liquid-Qt (Steven Roose)

Pull request description:

  This should be the last mention of `#if LIQUID` and `Liquid-Qt` that my grep can find.

Tree-SHA512: 75c3675c075787de076fbb3f191b779e9db4afee872aaef229f03eb419ec1fdc0393b41728cf8e3baf5730271f2e76b0fab9000c37a4932bbc439cd7725849ec
  • Loading branch information
stevenroose committed Apr 8, 2020
2 parents 6d259b1 + 607cfc3 commit 1427dfd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions src/qt/guiconstants.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,10 @@ static const int MAX_URI_LENGTH = 255;
#define QAPP_ORG_NAME "Bitcoin"
#define QAPP_ORG_DOMAIN "bitcoin.org"

#if LIQUID
#define QAPP_APP_NAME_DEFAULT "Liquid-Qt"
#define QAPP_APP_NAME_TESTNET "Liquid-Qt-testnet"
#define QAPP_APP_NAME_REGTEST "Liquid-Qt-regtest"
#else
#define QAPP_APP_NAME_DEFAULT "Elements-Qt"
#define QAPP_APP_NAME_TESTNET "Elements-Qt-testnet"
#define QAPP_APP_NAME_REGTEST "Elements-Qt-regtest"
#endif
#define QAPP_APP_NAME_LIQUID "Elements-Qt (Liquid)"

/* One gigabyte (GB) in bytes */
static constexpr uint64_t GB_BYTES{1000000000};
Expand Down
2 changes: 1 addition & 1 deletion src/qt/networkstyle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ static const struct {
} network_styles[] = {
{"main", QAPP_APP_NAME_DEFAULT, 0, 0},
{"test", QAPP_APP_NAME_TESTNET, 70, 30},
{"liquidv1", "Liquid-Qt-liquidv1", 0, 0},
{"liquidv1", QAPP_APP_NAME_LIQUID, 0, 0},
{"regtest", QAPP_APP_NAME_REGTEST, 160, 30}
};
static const unsigned network_styles_count = sizeof(network_styles)/sizeof(*network_styles);
Expand Down

0 comments on commit 1427dfd

Please sign in to comment.