Export functionality for transaction list
[novacoin.git] / src / qt / transactionrecord.cpp
index 864dffa..1b527bc 100644 (file)
@@ -254,3 +254,9 @@ bool TransactionRecord::statusUpdateNeeded()
 {
     return status.cur_num_blocks != nBestHeight;
 }
+
+std::string TransactionRecord::getTxID()
+{
+    return hash.ToString() + strprintf("-%03d", idx);
+}
+