Skip to content

Commit

Permalink
Update tooling/noir_js_backend_barretenberg/src/serialize.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench authored Oct 2, 2023
1 parent 59751cb commit c662120
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tooling/noir_js_backend_barretenberg/src/serialize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { decompressSync as gunzip } from 'fflate';
import { base64Decode } from './base64_decode.js';

// Converts bytecode from a base64 string to a Uint8Array
export function acirToUint8Array(base64EncodedBytecode): Uint8Array {
export function acirToUint8Array(base64EncodedBytecode: string): Uint8Array {
const compressedByteCode = base64Decode(base64EncodedBytecode);
return gunzip(compressedByteCode);
}

0 comments on commit c662120

Please sign in to comment.