mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-08 19:07:25 -04:00
TransactionHistory sorting
This commit is contained in:
@@ -19,7 +19,13 @@ bool TransactionInfo::isFailed() const
|
||||
}
|
||||
|
||||
|
||||
QString TransactionInfo::amount() const
|
||||
double TransactionInfo::amount() const
|
||||
{
|
||||
// there's no unsigned uint64 for JS, so better use double
|
||||
return WalletManager::instance()->displayAmount(m_pimpl->amount()).toDouble();
|
||||
}
|
||||
|
||||
QString TransactionInfo::displayAmount() const
|
||||
{
|
||||
return WalletManager::instance()->displayAmount(m_pimpl->amount());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user