forked from lthn/blockchain
GPU mining fixed
This commit is contained in:
parent
00b67d13ff
commit
a9fa1947c6
2 changed files with 2 additions and 2 deletions
|
|
@ -6,7 +6,7 @@
|
|||
#pragma once
|
||||
|
||||
/** The ethash library version. */
|
||||
#define ETHASH_VERSION "0.5.0-alpha.0"
|
||||
#define ETHASH_VERSION "0.4.3"
|
||||
|
||||
#ifdef __cplusplus
|
||||
namespace ethash
|
||||
|
|
|
|||
|
|
@ -437,7 +437,7 @@ namespace
|
|||
difficulty_to_boundary_long(worker_difficulty, target_boundary);
|
||||
|
||||
ethash_hash256 seed_hash = ethash_calculate_epoch_seed(ethash_height_to_epoch(m_block_template_height));
|
||||
return R"("result":[")" + pod_to_net_format(m_block_template_ethash) + R"(",")" + pod_to_net_format(seed_hash) + R"(",")" + pod_to_net_format_reverse(target_boundary) + R"("])";
|
||||
return R"("result":[")" + pod_to_net_format(m_block_template_ethash) + R"(",")" + pod_to_net_format(seed_hash) + R"(",")" + pod_to_net_format_reverse(target_boundary) + R"(",")" + pod_to_net_format_reverse(m_block_template_height) + R"("])";
|
||||
}
|
||||
|
||||
void update_work(protocol_handler_t* p_ph)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue