Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
arobsn committed Sep 17, 2024
1 parent 9fceb6f commit 81f2d67
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion packages/serializer/src/sigmaConstant.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ describe("Data only decoding", () => {
expect(() => parse("", "strict")).to.throw();
expect(() => parse(undefined as unknown as string, "strict")).to.throw();
});

it("Should return undefined with invalid bytes in 'safe' parsing mode", () => {
expect(() => parse("deadbeef", "safe")).not.to.throw();
expect(parse("deadbeef", "safe")).to.be.undefined;
Expand Down
1 change: 0 additions & 1 deletion packages/serializer/src/sigmaConstant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ export class SConstant<D = unknown, T extends SType = SType> {
}
}


/**
* Decodes a byte input into a Sigma constant of type `SConstant<D, T>`.
*
Expand Down

0 comments on commit 81f2d67

Please sign in to comment.