mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-23 07:52:25 +00:00
Merge pull request #914
87b1153
wallet2_api: use uint64_t for amounts (moneromooo-monero)
This commit is contained in:
commit
38e5156392
1 changed files with 2 additions and 2 deletions
|
@ -118,7 +118,7 @@ uint64_t PendingTransactionImpl::amount() const
|
||||||
|
|
||||||
uint64_t PendingTransactionImpl::dust() const
|
uint64_t PendingTransactionImpl::dust() const
|
||||||
{
|
{
|
||||||
uint32_t result = 0;
|
uint64_t result = 0;
|
||||||
for (const auto & ptx : m_pending_tx) {
|
for (const auto & ptx : m_pending_tx) {
|
||||||
result += ptx.dust;
|
result += ptx.dust;
|
||||||
}
|
}
|
||||||
|
@ -127,7 +127,7 @@ uint64_t PendingTransactionImpl::dust() const
|
||||||
|
|
||||||
uint64_t PendingTransactionImpl::fee() const
|
uint64_t PendingTransactionImpl::fee() const
|
||||||
{
|
{
|
||||||
uint32_t result = 0;
|
uint64_t result = 0;
|
||||||
for (const auto ptx : m_pending_tx) {
|
for (const auto ptx : m_pending_tx) {
|
||||||
result += ptx.fee;
|
result += ptx.fee;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue