diff options
Diffstat (limited to 'tests/unit/test_stratum_proxy.c')
| -rw-r--r-- | tests/unit/test_stratum_proxy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/test_stratum_proxy.c b/tests/unit/test_stratum_proxy.c index 7788911..6ad9d9e 100644 --- a/tests/unit/test_stratum_proxy.c +++ b/tests/unit/test_stratum_proxy.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | #include "test_framework.h" | 1 | #include "test_framework.h" |
| 2 | #include "../../main/stratum_proxy.h" | 2 | #include "../../main/stratum_proxy.h" |
| 3 | #include "../../main/mining_payment.h" | 3 | #include "tollgate_core_mining.h" |
| 4 | #include <stdio.h> | 4 | #include <stdio.h> |
| 5 | #include <string.h> | 5 | #include <string.h> |
| 6 | 6 | ||
| @@ -8,7 +8,7 @@ int main(void) | |||
| 8 | { | 8 | { |
| 9 | printf("=== test_stratum_proxy ===\n"); | 9 | printf("=== test_stratum_proxy ===\n"); |
| 10 | 10 | ||
| 11 | mining_payment_init(); | 11 | tollgate_core_mining_init(); |
| 12 | 12 | ||
| 13 | printf("\n--- stratum_proxy_set_job / get_current_job ---\n"); | 13 | printf("\n--- stratum_proxy_set_job / get_current_job ---\n"); |
| 14 | { | 14 | { |
| @@ -42,7 +42,7 @@ int main(void) | |||
| 42 | 42 | ||
| 43 | printf("\n--- stratum_proxy_get_stats ---\n"); | 43 | printf("\n--- stratum_proxy_get_stats ---\n"); |
| 44 | { | 44 | { |
| 45 | mining_set_current_nbits(0x170309E2); | 45 | tollgate_core_mining_set_current_nbits(0x170309E2); |
| 46 | stratum_proxy_set_job(&(stratum_job_t){ | 46 | stratum_proxy_set_job(&(stratum_job_t){ |
| 47 | .job_id = 1, | 47 | .job_id = 1, |
| 48 | .nbits = 0x170309E2, | 48 | .nbits = 0x170309E2, |