From c3e43fb182e4787dd1f7c39f01dd76c126fdeaf4 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 23 Oct 2016 18:52:10 -0300 Subject: [PATCH] test --- src/wallet/wallet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 9fac07166..3a25d8363 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -2445,7 +2445,7 @@ bool CWallet::CreateTransaction(const vector& vecSend, } else { - txNew.nLockTime = (uint32_t)time(NULL) - 60; // set to a time close to now + txNew.nLockTime = (uint32_t)chainActive.Tip()->nTime + 1; // set to a time close to now } {