forked from Public/monero-gui
Fix sum of selected transactions being slighty off
due to floating point operations
This commit is contained in:
@@ -25,6 +25,11 @@ double TransactionInfo::amount() const
|
||||
return WalletManager::instance()->displayAmount(m_pimpl->amount()).toDouble();
|
||||
}
|
||||
|
||||
quint64 TransactionInfo::atomicAmount() const
|
||||
{
|
||||
return m_pimpl->amount();
|
||||
}
|
||||
|
||||
QString TransactionInfo::displayAmount() const
|
||||
{
|
||||
return WalletManager::instance()->displayAmount(m_pimpl->amount());
|
||||
|
||||
Reference in New Issue
Block a user