From 8abdfaed323b9727630a343eb90476e2dc9f1518 Mon Sep 17 00:00:00 2001 From: Michael Feher Date: Mon, 9 Sep 2024 13:46:21 -0400 Subject: [PATCH] docs: fix validation typo for transaction example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ffa2c2f..11c80b4 100644 --- a/README.md +++ b/README.md @@ -112,7 +112,7 @@ const ajv = new Ajv() const paySchema: JSONSchemaType = 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) ```