mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-12-23 03:49:23 +00:00
data api: fixed saving of p2pool.blocks
This commit is contained in:
parent
f3b6423d4c
commit
2ecd935bc5
1 changed files with 1 additions and 1 deletions
|
@ -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';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue