From ee8498daf3e43042e765e8b1612d5b50e4b45013 Mon Sep 17 00:00:00 2001 From: clauspeterhuebner <86960882+clauspeterhuebner@users.noreply.github.com> Date: Wed, 20 Sep 2023 12:24:00 +0200 Subject: [PATCH 1/2] Update backend/src/graphql/resolver/util/processXComSendCoins.ts Co-authored-by: einhornimmond --- backend/src/graphql/resolver/util/processXComSendCoins.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/graphql/resolver/util/processXComSendCoins.ts b/backend/src/graphql/resolver/util/processXComSendCoins.ts index 3bae8acd3..c75212392 100644 --- a/backend/src/graphql/resolver/util/processXComSendCoins.ts +++ b/backend/src/graphql/resolver/util/processXComSendCoins.ts @@ -174,7 +174,7 @@ export async function processXComCommittingSendCoins( logger.debug(`X-Com: ready for settleSendCoins with args=`, args) const acknoleged = await client.settleSendCoins(args) logger.debug(`X-Com: returnd from settleSendCoins:`, acknoleged) - if (acknoleged) { + if (acknowledge) { // settle the pending transaction on receiver-side was successfull, so now settle the sender side try { await settlePendingSenderTransaction(senderCom, sender, pendingTx) From 9c37e8f3c3932d2ca620d4c6b316706e902c4ad1 Mon Sep 17 00:00:00 2001 From: clauspeterhuebner <86960882+clauspeterhuebner@users.noreply.github.com> Date: Wed, 20 Sep 2023 12:35:33 +0200 Subject: [PATCH 2/2] Update federation/src/graphql/util/checkTradingLevel.ts Co-authored-by: einhornimmond --- federation/src/graphql/util/checkTradingLevel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/federation/src/graphql/util/checkTradingLevel.ts b/federation/src/graphql/util/checkTradingLevel.ts index c67d70ad7..9f5463a0d 100644 --- a/federation/src/graphql/util/checkTradingLevel.ts +++ b/federation/src/graphql/util/checkTradingLevel.ts @@ -7,7 +7,7 @@ export async function checkTradingLevel(homeCom: DbCommunity, amount: Decimal): const tradingLevel = CONFIG.FEDERATION_TRADING_LEVEL if (homeCom.url !== tradingLevel.RECEIVER_COMMUNITY_URL) { logger.warn( - `X-Com: tradingLevel allows to receive coins only wiht url ${tradingLevel.RECEIVER_COMMUNITY_URL}`, + `X-Com: tradingLevel allows to receive coins only with url ${tradingLevel.RECEIVER_COMMUNITY_URL}`, ) return false }