diff --git a/@stellar/anchor-tests/src/schemas/sep31.ts b/@stellar/anchor-tests/src/schemas/sep31.ts index 1a1a1b1..22b18b2 100644 --- a/@stellar/anchor-tests/src/schemas/sep31.ts +++ b/@stellar/anchor-tests/src/schemas/sep31.ts @@ -117,7 +117,7 @@ export const infoSchema = { max_amount: { type: "number", }, - funding_method: { + funding_methods: { type: "array", }, sep12: { diff --git a/@stellar/anchor-tests/src/schemas/sep6.ts b/@stellar/anchor-tests/src/schemas/sep6.ts index 86bc097..fb4156e 100644 --- a/@stellar/anchor-tests/src/schemas/sep6.ts +++ b/@stellar/anchor-tests/src/schemas/sep6.ts @@ -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"], @@ -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",