From 300c2a5014cb5d070556a3fb7f9fb12e71e51ef0 Mon Sep 17 00:00:00 2001 From: woodser Date: Sat, 29 Jun 2019 18:11:58 -0400 Subject: [PATCH] init sent tx isDoubleSpend and unlockTime; wip testTxWallet npe testTransfer isSweepOutputResponse --- src/wallet/MoneroWallet.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wallet/MoneroWallet.cpp b/src/wallet/MoneroWallet.cpp index 3ec81f6..973f301 100644 --- a/src/wallet/MoneroWallet.cpp +++ b/src/wallet/MoneroWallet.cpp @@ -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++;