From f559aabfc7f9f34f527988f9c04e3f7ab91f7008 Mon Sep 17 00:00:00 2001 From: Angell Li Date: Fri, 1 Nov 2024 20:25:29 +0800 Subject: [PATCH] fix: return zero vec when no public input --- prover/src/cpu/kernel/assembler.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prover/src/cpu/kernel/assembler.rs b/prover/src/cpu/kernel/assembler.rs index 9e8e9ba6..470487a7 100644 --- a/prover/src/cpu/kernel/assembler.rs +++ b/prover/src/cpu/kernel/assembler.rs @@ -58,7 +58,7 @@ impl Kernel { let result = hasher.finalize(); result.to_vec() } else { - vec![] + vec!(0u8; 32) } } }