Skip to content

Commit 779894f

Browse files
presstabFuzzbawls
authored andcommitted
[QT] Fix false flags for MultiSend notification when sending transactions
Github-Pull: bitcoin#136 Rebased-From: 53705f1
1 parent fb49d9e commit 779894f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/qt/bitcoingui.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1029,7 +1029,7 @@ void BitcoinGUI::closeEvent(QCloseEvent* event)
10291029
void BitcoinGUI::incomingTransaction(const QString& date, int unit, const CAmount& amount, const QString& type, const QString& address)
10301030
{
10311031
// On new transaction, make an info balloon
1032-
message((amount) < 0 ? (fMultiSendNotify == true ? tr("Sent MultiSend transaction") : tr("Sent transaction")) : tr("Incoming transaction"),
1032+
message((amount) < 0 ? (pwalletMain->fMultiSendNotify == true ? tr("Sent MultiSend transaction") : tr("Sent transaction")) : tr("Incoming transaction"),
10331033
tr("Date: %1\n"
10341034
"Amount: %2\n"
10351035
"Type: %3\n"

src/qt/bitcoingui.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ class BitcoinGUI : public QMainWindow
6868
void removeAllWallets();
6969
#endif // ENABLE_WALLET
7070
bool enableWallet;
71-
bool fMultiSend;
72-
bool fMultiSendNotify;
71+
bool fMultiSend = false;
7372

7473
protected:
7574
void changeEvent(QEvent* e);

0 commit comments

Comments
 (0)