From 1a85b06f228e37dab81f2ccf87d3254d4c12c5f6 Mon Sep 17 00:00:00 2001 From: Cameron Fairchild Date: Sat, 15 Oct 2022 14:52:02 -0400 Subject: [PATCH] remove unecessary while loop --- kernels/main.cu | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/kernels/main.cu b/kernels/main.cu index 59d0ff5..da754aa 100644 --- a/kernels/main.cu +++ b/kernels/main.cu @@ -166,16 +166,8 @@ __global__ void solve(uint64* solution, uint64 nonce_start, uint64 update_interv if (seal_meets_difficulty(seal, limit)) { *solution = j + 1; - printf("Solution found! %llu\n", *solution); + //printf("Solution found! %llu\n", *solution); found = true; - - // TODO: Find why these lines make it work - // IT'S MAGIC - BYTE fake_pre_seal[104]; - BYTE* fake_block_bytes = fake_pre_seal + 40; - create_pre_seal(fake_pre_seal, fake_block_bytes, 10); - while (false); - return; } }