aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/transaction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wallet/transaction.cpp')
-rw-r--r--src/wallet/transaction.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wallet/transaction.cpp b/src/wallet/transaction.cpp
index a46846c1d4..4f78fe7520 100644
--- a/src/wallet/transaction.cpp
+++ b/src/wallet/transaction.cpp
@@ -24,4 +24,9 @@ int64_t CWalletTx::GetTxTime() const
int64_t n = nTimeSmart;
return n ? n : nTimeReceived;
}
+
+void CWalletTx::CopyFrom(const CWalletTx& _tx)
+{
+ *this = _tx;
+}
} // namespace wallet