Skip to content

Commit bceb2a5

Browse files
dexX7zathras-crypto
authored andcommitted
Move global_metadex_market into metadexdialog
1 parent d2c08a4 commit bceb2a5

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

src/omnicore/omnicore.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ static const string getmoney_testnet = "moneyqMan7uh8FqdCA2BV5yZ8qVrc9ikLP";
104104

105105
static int nWaterlineBlock = 0; //
106106

107-
uint64_t global_metadex_market;
108107
//! Available balances of wallet properties
109108
std::map<uint32_t, int64_t> global_balance_money;
110109
//! Reserved balances of wallet propertiess

src/omnicore/omnicore.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,6 @@ class CMPTxList : public CDBBase
382382
bool isMPinBlockRange(int, int, bool);
383383
};
384384

385-
extern uint64_t global_metadex_market;
386385
//! Available balances of wallet properties
387386
extern std::map<uint32_t, int64_t> global_balance_money;
388387
//! Reserved balances of wallet propertiess

src/qt/metadexdialog.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,10 @@ MetaDExDialog::MetaDExDialog(QWidget *parent) :
5050
QDialog(parent),
5151
ui(new Ui::MetaDExDialog),
5252
clientModel(0),
53-
walletModel(0)
53+
walletModel(0),
54+
global_metadex_market(3)
5455
{
5556
ui->setupUi(this);
56-
//open
57-
global_metadex_market = 3;
5857

5958
//prep lists
6059
ui->buyList->setColumnCount(3);

src/qt/metadexdialog.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ public slots:
5555
Ui::MetaDExDialog *ui;
5656
ClientModel *clientModel;
5757
WalletModel *walletModel;
58+
uint32_t global_metadex_market;
5859

5960
private slots:
6061
void buyTrade();

0 commit comments

Comments
 (0)