From 6991fa8ea952d66f552647f5e4fb50333e11feb2 Mon Sep 17 00:00:00 2001 From: sowle Date: Thu, 8 Sep 2022 22:47:32 +0200 Subject: [PATCH] wallet: get_pos_entries g_index initialization fixed --- src/wallet/wallet2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 551e3685..3c1e6377 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -3545,7 +3545,7 @@ bool wallet2::get_pos_entries(std::vector& entries) pos_entry pe = AUTO_VAL_INIT(pe); pe.amount = tr.amount(); - //pe.index = tr.m_global_output_index; + pe.g_index = tr.m_global_output_index; pe.keyimage = tr.m_key_image; pe.wallet_index = i; pe.stake_unlock_time = stake_unlock_time;