Skip to content

Commit

Permalink
commit form update
Browse files Browse the repository at this point in the history
dReams
  • Loading branch information
SixofClubsss authored May 24, 2022
1 parent 4f394dc commit 93d04ae
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Mainnet-Baccarat/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ void MainWindow::on_walletRPCbutton_clicked(bool checked)
void MainWindow::on_getChipButton_clicked()
{
readoutConfirm();
ui->textBrowser->setText("Trading Dero for Chips"); /// Readout to main text display
ui->textBrowser->setText("Trading Dero for dReams"); /// Readout to main text display
Dialog::whichBet = 9; /// Which button was clicked
Dialog D; /// Pop up confirm bet menu
D.setModal(true);
Expand All @@ -110,7 +110,7 @@ void MainWindow::on_getChipButton_clicked()
void MainWindow::on_tradeChipButton_clicked()
{
readoutConfirm();
ui->textBrowser->setText("Trading Chips for Dero");
ui->textBrowser->setText("Trading dReams for Dero");
Dialog::whichBet = 8;
Dialog D;
D.setModal(true);
Expand Down
12 changes: 6 additions & 6 deletions Mainnet-Baccarat/wallet_rpc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ int MainWindow::checkWallet(void) /// Echo blockchain to confirm wallet is conn
}


int MainWindow::getChips(void) /// Trade Dero for Chips token (Only dChips are accepted for bets)
int MainWindow::getChips(void) /// Trade Dero for dReams token (Only dReams are accepted for bets)
{
CURL *curlGetChips;
CURLcode res;
Expand Down Expand Up @@ -295,20 +295,20 @@ int MainWindow::getChips(void) /// Trade Dero for Chips token (Only dChips

if(getChipsTxid.isString())
{
ui->textBrowser->setText("Get Chips TXID: "+getChipsTxid.toString()); /// Displays TXID and adds TXID to session log
ui->textBrowser->setText("Get dReams TXID: "+getChipsTxid.toString()); /// Displays TXID and adds TXID to session log
ui->logTextBrowser->append("TXID: "+getChipsTxid.toString()+"\n");

}else
{
ui->textBrowser->setText("Error No Get Chips TXID"); /// No TXID was recieved
ui->textBrowser->setText("Error No Get dReams TXID"); /// No TXID was recieved
}

}
return 0;
}


int MainWindow::tradeChips(void) /// Trade dChips for Dero
int MainWindow::tradeChips(void) /// Trade dReams for Dero
{
CURL *curlTradeChips;
CURLcode res;
Expand Down Expand Up @@ -358,12 +358,12 @@ int MainWindow::tradeChips(void) /// Trade dChips for Dero

if(tradeChipsTxid.isString())
{
ui->textBrowser->setText("Trade Chips TXID: "+tradeChipsTxid.toString());
ui->textBrowser->setText("Trade dReams TXID: "+tradeChipsTxid.toString());
ui->logTextBrowser->append("TXID: "+tradeChipsTxid.toString()+"\n");

}else
{
ui->textBrowser->setText("Error No Trade Chips TXID");
ui->textBrowser->setText("Error No Trade dReams TXID");
}

}
Expand Down

0 comments on commit 93d04ae

Please sign in to comment.