Skip to content

Commit

Permalink
Fix false-positive for withdraw tx schema validation on /transaction (#…
Browse files Browse the repository at this point in the history
…116)

* Fix false-positive for withdraw tx schema validation on /transaction

* Bump version
  • Loading branch information
CassioMG authored Jun 16, 2023
1 parent 2c87ef7 commit 6ee2ebf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion @stellar/anchor-tests/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stellar/anchor-tests",
"version": "0.5.10",
"version": "0.5.11",
"description": "stellar-anchor-tests is a library and command line interface for testing Stellar anchors.",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion @stellar/anchor-tests/src/tests/sep24/transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ export const hasProperWithdrawTransactionSchema: Test = {
async run(_config: Config): Promise<Result> {
const result: Result = { networkCalls: [] };
const validationResult = validate(
this.context.expects.depositTransactionObj,
this.context.expects.withdrawTransactionObj,
getTransactionSchema(false),
);
if (validationResult.errors.length !== 0) {
Expand Down
2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@
"winston": "^3.3.3"
},
"peerDependencies": {
"@stellar/anchor-tests": "0.5.10"
"@stellar/anchor-tests": "0.5.11"
}
}

0 comments on commit 6ee2ebf

Please sign in to comment.