diff --git a/src/wallet.cpp b/src/wallet.cpp index 8b5bbf00559f5..184c2c5b99a24 100644 --- a/src/wallet.cpp +++ b/src/wallet.cpp @@ -1417,7 +1417,8 @@ bool CWallet::CreateTransaction(const vector >& vecSend, // going ten blocks back. Doesn't yet do anything for sniping, but does act // to shake out wallet bugs like not showing nLockTime'd transactions at // all. - wtxNew.nLockTime = std::max(0, nBestHeight - 10); + if (!IsInitialBlockDownload()) + wtxNew.nLockTime = std::max(0, nBestHeight - 10); // Secondly occasionally randomly pick a nLockTime even further back, so // that transactions that are delayed after signing for whatever reason,