Skip to content

Commit

Permalink
[ANCHOR-809] Improve new field naming (#173)
Browse files Browse the repository at this point in the history
* naming

* comment
  • Loading branch information
JiahuiWho authored Nov 19, 2024
1 parent b9b98dc commit 1b3fa3c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion @stellar/anchor-tests/src/schemas/sep31.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export const infoSchema = {
max_amount: {
type: "number",
},
funding_method: {
funding_methods: {
type: "array",
},
sep12: {
Expand Down
4 changes: 2 additions & 2 deletions @stellar/anchor-tests/src/schemas/sep6.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const depositInfoSchema = {
min_amount: { type: "number" },
max_amount: { type: "number" },
authentication_required: { type: "boolean" },
funding_method: { type: "array" },
funding_methods: { type: "array" },
fields: fieldsSchema,
},
required: ["enabled"],
Expand All @@ -51,7 +51,7 @@ const withdrawInfoSchema = {
min_amount: { type: "number" },
max_amount: { type: "number" },
authentication_required: { type: "boolean" },
funding_method: { type: "array" },
funding_methods: { type: "array" },
types: {
additionalProperties: {
type: "object",
Expand Down

0 comments on commit 1b3fa3c

Please sign in to comment.