diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp index 115ae24b6..9944ce079 100644 --- a/src/cryptonote_core/blockchain.cpp +++ b/src/cryptonote_core/blockchain.cpp @@ -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 yield_entries;