From 771ef453cfe222c2149432236356f91cba8e30d0 Mon Sep 17 00:00:00 2001 From: Igor Grkavac Date: Thu, 31 Oct 2019 09:34:44 +0100 Subject: [PATCH] Wallet changes for create and edit account TX --- src/wallet/wallet.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 39d37d9f2..acb28178f 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -1117,6 +1117,11 @@ void wallet::process_new_transaction(const crypto::hash &txid, const cryptonote: { hwdev_lock.lock(); hwdev.set_mode(hw::device::NONE); + if ((tx_scan_info[i].output_type == tx_out_type::out_safex_account) + || (tx_scan_info[i].output_type == tx_out_type::out_safex_account_update)) { + outs.push_back(i); + continue; + } hwdev.conceal_derivation(tx_scan_info[i].received->derivation, tx_pub_key, additional_tx_pub_keys, derivation, additional_derivations); scan_output(tx, tx_pub_key, i, tx_scan_info[i], num_vouts_received, tx_money_got_in_outs, tx_tokens_got_in_outs, outs); hwdev_lock.unlock();