From 5aa6ce86ad25524b93b2b1eea83180183cc701f4 Mon Sep 17 00:00:00 2001 From: Tom French Date: Tue, 5 Sep 2023 18:43:41 +0100 Subject: [PATCH] fix: correct endian-ness of gates response --- .../test-binaries/mock_backend/src/gates_cmd.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/acvm_backend_barretenberg/test-binaries/mock_backend/src/gates_cmd.rs b/crates/acvm_backend_barretenberg/test-binaries/mock_backend/src/gates_cmd.rs index e49fda43fe6..3cc397d3292 100644 --- a/crates/acvm_backend_barretenberg/test-binaries/mock_backend/src/gates_cmd.rs +++ b/crates/acvm_backend_barretenberg/test-binaries/mock_backend/src/gates_cmd.rs @@ -14,5 +14,5 @@ pub(crate) struct GatesCommand { pub(crate) fn run(args: GatesCommand) { assert!(args.bytecode_path.is_file(), "Could not find bytecode file at provided path"); - std::io::stdout().write_all(&0u64.to_be_bytes()).unwrap(); + std::io::stdout().write_all(&0u64.to_le_bytes()).unwrap(); }