aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/transaction_info.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wallet/api/transaction_info.cpp')
-rw-r--r--src/wallet/api/transaction_info.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/wallet/api/transaction_info.cpp b/src/wallet/api/transaction_info.cpp
index 8de4e555f..c28c52355 100644
--- a/src/wallet/api/transaction_info.cpp
+++ b/src/wallet/api/transaction_info.cpp
@@ -35,7 +35,16 @@ using namespace std;
namespace Bitmonero {
+TransactionInfo::~TransactionInfo() {}
+
TransactionInfoImpl::TransactionInfoImpl()
+ : m_direction(Direction_Out)
+ , m_hold(false)
+ , m_failed(false)
+ , m_amount(0)
+ , m_fee(0)
+ , m_blockheight(0)
+ , m_timestamp(0)
{
}
@@ -71,7 +80,7 @@ uint64_t TransactionInfoImpl::fee() const
return 0;
}
-string TransactionInfoImpl::address() const
+string TransactionInfoImpl::hash() const
{
return "";
}