Fixed bug in handling of yield payouts

This commit is contained in:
Some Random Crypto Guy
2024-06-18 23:48:45 +01:00
parent 6404d34e33
commit 2f08b2fe2e

View File

@@ -4336,7 +4336,7 @@ bool Blockchain::calculate_yield_payouts(const uint64_t start_height, std::vecto
LOG_PRINT_L3("Blockchain::" << __func__);
// Clear the yield payout amounts
yield_container.empty();
yield_container.clear();
// Get the YIELD TX information for matured staked coins
std::vector<cryptonote::yield_tx_info> yield_entries;