From 2f08b2fe2e91a923f7ec71966f25ad17a34ed114 Mon Sep 17 00:00:00 2001 From: Some Random Crypto Guy Date: Tue, 18 Jun 2024 23:48:45 +0100 Subject: [PATCH] Fixed bug in handling of yield payouts --- src/cryptonote_core/blockchain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;