init sent tx isDoubleSpend and unlockTime;

wip testTxWallet npe testTransfer isSweepOutputResponse
This commit is contained in:
woodser
2019-06-29 18:11:58 -04:00
parent 8cc3a08779
commit 300c2a5014
+2
View File
@@ -1221,11 +1221,13 @@ namespace monero {
tx->isConfirmed = false;
tx->isCoinbase = false;
tx->isFailed = false;
tx->isDoubleSpend = false;
tx->doNotRelay = request.doNotRelay != boost::none && request.doNotRelay.get() == true;
tx->isRelayed = tx->doNotRelay.get() != true;
tx->inTxPool = !tx->doNotRelay.get();
tx->numConfirmations = 0;
tx->mixin = request.mixin;
tx->unlockTime = request.unlockTime == boost::none ? 0 : request.unlockTime.get();
// iterate to next element
txKeysIter++;