Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/s2gprotocol/borsh-ts
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-pousette committed Jan 22, 2023
2 parents a1cab02 + dd73286 commit a91fa5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ class TestStruct {

```typescript
class TestStruct {
@field({ type: vec('32') })
@field({ type: vec('u32') })
public vec: number[];
}
```
Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ describe("number", () => {
expect(new Uint8Array(buf)).toEqual(serializedExpected);
});

test("u512 with 8int8array", () => {
test("u512 with Uint8array", () => {
class Struct {
@field({ type: "u512" })
public a: bigint;
Expand Down

0 comments on commit a91fa5e

Please sign in to comment.