|
|
|
@ -22,12 +22,12 @@ WalletModelTransaction::~WalletModelTransaction()
@@ -22,12 +22,12 @@ WalletModelTransaction::~WalletModelTransaction()
|
|
|
|
|
delete walletTransaction; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
QList<SendCoinsRecipient> WalletModelTransaction::getRecipients() |
|
|
|
|
QList<SendCoinsRecipient> WalletModelTransaction::getRecipients() const |
|
|
|
|
{ |
|
|
|
|
return recipients; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
CWalletTx *WalletModelTransaction::getTransaction() |
|
|
|
|
CWalletTx *WalletModelTransaction::getTransaction() const |
|
|
|
|
{ |
|
|
|
|
return walletTransaction; |
|
|
|
|
} |
|
|
|
@ -37,7 +37,7 @@ unsigned int WalletModelTransaction::getTransactionSize()
@@ -37,7 +37,7 @@ unsigned int WalletModelTransaction::getTransactionSize()
|
|
|
|
|
return (!walletTransaction ? 0 : ::GetVirtualTransactionSize(*walletTransaction)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
CAmount WalletModelTransaction::getTransactionFee() |
|
|
|
|
CAmount WalletModelTransaction::getTransactionFee() const |
|
|
|
|
{ |
|
|
|
|
return fee; |
|
|
|
|
} |
|
|
|
@ -79,7 +79,7 @@ void WalletModelTransaction::reassignAmounts(int nChangePosRet)
@@ -79,7 +79,7 @@ void WalletModelTransaction::reassignAmounts(int nChangePosRet)
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
CAmount WalletModelTransaction::getTotalTransactionAmount() |
|
|
|
|
CAmount WalletModelTransaction::getTotalTransactionAmount() const |
|
|
|
|
{ |
|
|
|
|
CAmount totalTransactionAmount = 0; |
|
|
|
|
for (const SendCoinsRecipient &rcp : recipients) |
|
|
|
|