From fb1beeaa0e462b8d443af2f633daa85b66d69411 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 24 Mar 2025 20:48:23 +0800 Subject: Update license headers --- wasm/solver.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'wasm') 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; } -- cgit v1.2.3