mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
Merge branch '3187-feature-x-sendcoind-23-invoke-settlement-of-x-pending-tx' of github.com:gradido/gradido into 3187-feature-x-sendcoind-23-invoke-settlement-of-x-pending-tx
This commit is contained in:
commit
1a3acc77e2
@ -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)
|
||||
|
||||
@ -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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user