diff --git a/ethash.h b/ethash.h index ea94fd762..b8ad2255a 100644 --- a/ethash.h +++ b/ethash.h @@ -88,7 +88,7 @@ void ethash_light_delete(ethash_light_t light); */ ethash_return_value_t ethash_light_compute( ethash_light_t light, - const ethash_h256_t header_hash, + ethash_h256_t const header_hash, uint64_t nonce ); diff --git a/internal.c b/internal.c index 9e6d3a9eb..3d598a26c 100644 --- a/internal.c +++ b/internal.c @@ -332,7 +332,7 @@ bool ethash_light_compute_internal( ethash_return_value_t* ret, ethash_light_t light, uint64_t full_size, - const ethash_h256_t header_hash, + ethash_h256_t const header_hash, uint64_t nonce ) { @@ -349,7 +349,7 @@ bool ethash_light_compute_internal( ethash_return_value_t ethash_light_compute( ethash_light_t light, - const ethash_h256_t header_hash, + ethash_h256_t const header_hash, uint64_t const nonce ) { diff --git a/internal.h b/internal.h index bb622177d..a73b5ad30 100644 --- a/internal.h +++ b/internal.h @@ -101,7 +101,7 @@ bool ethash_light_compute_internal( ethash_return_value_t* ret, ethash_light_t light, uint64_t full_size, - const ethash_h256_t header_hash, + ethash_h256_t const header_hash, uint64_t const nonce );