Skip to content

Commit

Permalink
change toBinary
Browse files Browse the repository at this point in the history
  • Loading branch information
TalDerei committed May 16, 2024
1 parent 223544e commit 72d48ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/wasm/src/view-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class ViewServer implements ViewServerInterface {
// Makes update to internal state-commitment-tree as a side effect.
// Should extract updates via this.flushUpdates().
async scanBlock(compactBlock: CompactBlock): Promise<boolean> {
const res = compactBlock.toJson();
const res = compactBlock.toBinary();
return this.wasmViewServer.scan_block(res);
}

Expand Down

0 comments on commit 72d48ef

Please sign in to comment.