Skip to content

Commit

Permalink
msg fix
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed Jun 24, 2024
1 parent ebdef59 commit c542389
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yarn-project/foundation/src/serialize/buffer_reader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ export class BufferReader {
#rangeCheck(numBytes: number) {
if (this.index + numBytes > this.buffer.length) {
throw new Error(
`Attempted to read beyond buffer Length. Start index: ${this.index}, Num bytes to read: ${numBytes}, Buffer length: ${this.buffer.length}`,
`Attempted to read beyond buffer length. Start index: ${this.index}, Num bytes to read: ${numBytes}, Buffer length: ${this.buffer.length}`,
);
}
}
Expand Down

0 comments on commit c542389

Please sign in to comment.