mirror of
https://github.com/feather-wallet/feather.git
synced 2025-02-03 11:46:30 +00:00
30 lines
No EOL
755 B
C++
30 lines
No EOL
755 B
C++
// SPDX-License-Identifier: BSD-3-Clause
|
|
// SPDX-FileCopyrightText: 2014-2022 The Monero Project
|
|
|
|
#include "PendingTransactionInfo.h"
|
|
|
|
quint64 PendingTransactionInfo::fee() const {
|
|
return m_fee;
|
|
}
|
|
|
|
quint64 PendingTransactionInfo::dust() const {
|
|
return m_dust;
|
|
}
|
|
|
|
bool PendingTransactionInfo::dustAddedToFee() const {
|
|
return m_dustAddedToFee;
|
|
}
|
|
|
|
QString PendingTransactionInfo::txKey() const {
|
|
return m_txKey;
|
|
}
|
|
|
|
PendingTransactionInfo::PendingTransactionInfo(const Monero::PendingTransactionInfo *pimpl, QObject *parent)
|
|
: ConstructionInfo(pimpl->constructionData(), parent)
|
|
, m_fee(pimpl->fee())
|
|
, m_dust(pimpl->dust())
|
|
, m_dustAddedToFee(pimpl->dustAddedToFee())
|
|
, m_txKey(QString::fromStdString(pimpl->txKey()))
|
|
{
|
|
|
|
} |