diff options
author | Runxi Yu <me@runxiyu.org> | 2025-03-24 20:48:23 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-03-24 20:48:23 +0800 |
commit | fb1beeaa0e462b8d443af2f633daa85b66d69411 (patch) | |
tree | 79dfe11b242300df637ec632c10b5860ffbd4fc4 /wasm/solver.c | |
parent | Use a WebAssembly solver (diff) | |
download | powxy-fb1beeaa0e462b8d443af2f633daa85b66d69411.tar.gz powxy-fb1beeaa0e462b8d443af2f633daa85b66d69411.tar.zst powxy-fb1beeaa0e462b8d443af2f633daa85b66d69411.zip |
Update license headers
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; } |