Skip to content

Commit

Permalink
docs: fix validation typo for transaction example
Browse files Browse the repository at this point in the history
  • Loading branch information
PhearZero committed Sep 9, 2024
1 parent ef195da commit 8abdfae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const ajv = new Ajv()
const paySchema: JSONSchemaType<PayTransaction> = JSON.parse(fs.readFileSync(path.resolve(__dirname, "./schemas/pay.transaction.json"), "utf8"))

const validate = ajv.compile(paySchema)
expect(validate(encoded)).toBe(true)
expect(validate(tx)).toBe(true)

```

Expand Down

0 comments on commit 8abdfae

Please sign in to comment.