1
0
Fork 0
forked from lthn/blockchain

wallet: get_pos_entries g_index initialization fixed

This commit is contained in:
sowle 2022-09-08 22:47:32 +02:00
parent 2c5c0ddc75
commit 6991fa8ea9
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC

View file

@ -3545,7 +3545,7 @@ bool wallet2::get_pos_entries(std::vector<currency::pos_entry>& 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;