forked from lthn/blockchain
coretests: fill_tx_sources fixed
This commit is contained in:
parent
5f9aea7a22
commit
5fd2899fd2
1 changed files with 1 additions and 1 deletions
|
|
@ -1223,7 +1223,7 @@ bool fill_tx_sources(std::vector<currency::tx_source_entry>& sources, const std:
|
|||
// Iterate in reverse is more efficiency
|
||||
uint64_t sources_amount = 0;
|
||||
bool sources_found = false;
|
||||
for(const map_output_t::value_type o : outs_mine)
|
||||
BOOST_REVERSE_FOREACH(const map_output_t::value_type o, outs_mine)
|
||||
{
|
||||
for (size_t i = 0; i < o.second.size() && !sources_found; ++i)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue