From 2ecd935bc5ce75288291f9fe9538390131b87fdd Mon Sep 17 00:00:00 2001 From: SChernykh Date: Sun, 5 Sep 2021 23:05:36 +0200 Subject: [PATCH] data api: fixed saving of p2pool.blocks --- src/p2pool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p2pool.cpp b/src/p2pool.cpp index 71c1701..f0b4eb6 100644 --- a/src/p2pool.cpp +++ b/src/p2pool.cpp @@ -880,7 +880,7 @@ void p2pool::api_update_block_found(const ChainMain* data) std::ofstream f(FOUND_BLOCKS_FILE, std::ios::app); if (f.is_open()) { - f << cur_time << ' ' << data->height << ' ' << diff << ' ' << total_hashes << '\n'; + f << cur_time << ' ' << data->height << ' ' << data->id << ' ' << diff << ' ' << total_hashes << '\n'; } }