Skip to content

Commit eaf3e01

Browse files
committed
Fixed a couple of issues reported by the CI
1 parent c3b28d0 commit eaf3e01

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/qt/deniabilitydialog.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -420,13 +420,13 @@ void DeniabilityDialog::saveSettings()
420420
settings.setValue("nDeniabilizationBudget", m_deniabilizationBudget);
421421

422422
uint64_t nDeniabilizationFrequency = m_deniabilizationFrequency.count();
423-
settings.setValue("nDeniabilizationFrequency", nDeniabilizationFrequency);
423+
settings.setValue("nDeniabilizationFrequency", (quint64)nDeniabilizationFrequency);
424424

425425
uint64_t nNextDeniabilizationCycle = 0;
426426
if (m_nextDeniabilizationCycle.has_value()) {
427427
nNextDeniabilizationCycle = m_nextDeniabilizationCycle.value().time_since_epoch().count();
428428
}
429-
settings.setValue("nNextDeniabilizationCycle", nNextDeniabilizationCycle);
429+
settings.setValue("nNextDeniabilizationCycle", (quint64)nNextDeniabilizationCycle);
430430

431431
settings.setValue("fDeniabilizationProcessAccepted", m_deniabilizationProcessAccepted);
432432

@@ -1754,7 +1754,7 @@ bool DeniabilityDialog::bumpDeniabilizationTx(uint256 hash)
17541754
SendCoinsRecipient recipient;
17551755
recipient.address = QString::fromStdString(EncodeDestination(destination));
17561756
if (outIndex == numTxOutAddresses) {
1757-
// take the fee from the last recepient
1757+
// take the fee from the last recipient
17581758
recipient.amount = txOut.nValue + oldTxFee;
17591759
recipient.fSubtractFeeFromAmount = true;
17601760
} else {

src/qt/deniabilitydialog.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// Distributed under the MIT software license, see the accompanying
33
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
44

5-
#ifndef DENIABILITYDIALOG_H
6-
#define DENIABILITYDIALOG_H
5+
#ifndef BITCOIN_QT_DENIABILITYDIALOG_H
6+
#define BITCOIN_QT_DENIABILITYDIALOG_H
77

88
#include <QDialog>
99

@@ -196,4 +196,4 @@ public Q_SLOTS:
196196
void message(const QString& title, const QString& message, unsigned int style);
197197
};
198198

199-
#endif // DENIABILITYDIALOG_H
199+
#endif // BITCOIN_QT_DENIABILITYDIALOG_H

0 commit comments

Comments
 (0)