From 5101611f243bc915708998f54525c876452f0a8a Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 15 Jul 2017 12:05:04 +0200 Subject: [PATCH] Test --- src/wallet/asyncrpcoperation_sendmany.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/wallet/asyncrpcoperation_sendmany.cpp b/src/wallet/asyncrpcoperation_sendmany.cpp index 7cd304727..5befe9fb1 100644 --- a/src/wallet/asyncrpcoperation_sendmany.cpp +++ b/src/wallet/asyncrpcoperation_sendmany.cpp @@ -342,6 +342,7 @@ bool AsyncRPCOperation_sendmany::main_impl() { mtx.nVersion = 2; crypto_sign_keypair(joinSplitPubKey_.begin(), joinSplitPrivKey_); mtx.joinSplitPubKey = joinSplitPubKey_; + mtx.nLockTime = (uint32_t)time(NULL) - 60; // jl777 tx_ = CTransaction(mtx); // Copy zinputs and zoutputs to more flexible containers @@ -1099,7 +1100,7 @@ void AsyncRPCOperation_sendmany::add_taddr_outputs_to_tx() { CTxOut out(nAmount, scriptPubKey); rawTx.vout.push_back(out); } - + rawTx.nLockTime = (uint32_t)time(NULL) - 60; // jl777 tx_ = CTransaction(rawTx); } @@ -1125,6 +1126,7 @@ void AsyncRPCOperation_sendmany::add_taddr_change_output_to_tx(CBitcoinAddress * CMutableTransaction rawTx(tx_); rawTx.vout.push_back(out); + rawTx.nLockTime = (uint32_t)time(NULL) - 60; // jl777 tx_ = CTransaction(rawTx); }