diff options
Diffstat (limited to 'wasm/solver.c')
-rw-r--r-- | wasm/solver.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/wasm/solver.c b/wasm/solver.c index f1c4fa6..c0b81dc 100644 --- a/wasm/solver.c +++ b/wasm/solver.c @@ -1,3 +1,7 @@ +// SPDX-License-Identifier: BSD-2-Clause +// SPDX-FileCopyrightText: Copyright (c) 2025 Vicky Williams +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu + #include "sha256.h" unsigned char challenge[32]; @@ -40,7 +44,6 @@ unsigned long long solve(unsigned char difficulty) { sha256_final(&context, hash); if(validate_hash(hash, difficulty)) { - // we did it!! break; } |