data api: fixed saving of p2pool.blocks

This commit is contained in:
SChernykh 2021-09-05 23:05:36 +02:00
parent f3b6423d4c
commit 2ecd935bc5

View file

@ -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';
}
}