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 } {