From 2e5c49300465a848605e22e1b282543d63bab4a1 Mon Sep 17 00:00:00 2001 From: cryptozoidberg Date: Thu, 1 Jul 2021 21:05:50 +0200 Subject: [PATCH] added transfer_internal_index to wallet_transfer_info struct --- src/wallet/wallet2.cpp | 3 ++- src/wallet/wallet_public_structs_defs.h | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 5b753b91..5801d511 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -1662,7 +1662,7 @@ void wallet2::handle_pulled_blocks(size_t& blocks_added, std::atomic& stop //block matched in that number last_matched_index = height; been_matched_block = true; - WLT_LOG_L2("Block " << bl_id << " @ " << height << " is already in wallet's blockchain"); + WLT_LOG_L4("Block " << bl_id << " @ " << height << " is already in wallet's blockchain"); } else { @@ -3207,6 +3207,7 @@ void wallet2::get_recent_transfers_history(std::vector= count) { diff --git a/src/wallet/wallet_public_structs_defs.h b/src/wallet/wallet_public_structs_defs.h index 3b78f2b4..48251797 100644 --- a/src/wallet/wallet_public_structs_defs.h +++ b/src/wallet/wallet_public_structs_defs.h @@ -111,6 +111,7 @@ namespace wallet_public bool show_sender; std::vector contract; uint16_t extra_flags; + uint64_t transfer_internal_index; //not included in kv serialization map @@ -139,6 +140,7 @@ namespace wallet_public KV_SERIALIZE(show_sender) KV_SERIALIZE(contract) KV_SERIALIZE(service_entries) + KV_SERIALIZE(transfer_internal_index) END_KV_SERIALIZE_MAP() };