mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
2nd dlt-trigger in TransactionLinkResolver, but as TODO-comment
This commit is contained in:
parent
cbd1c36604
commit
4c075766cf
@ -290,6 +290,19 @@ export class TransactionLinkResolver {
|
||||
await queryRunner.manager.update(DbContribution, { id: contribution.id }, contribution)
|
||||
|
||||
await queryRunner.commitTransaction()
|
||||
|
||||
/* TODO not the right place, because its inside semaphore locks
|
||||
// send transaction via dlt-connector
|
||||
// notice: must be called after transaction are saved to db to contain also the id
|
||||
// we use catch instead of await to prevent slow down of backend
|
||||
// because iota pow calculation which can be use up several seconds
|
||||
const dltConnector = DltConnectorClient.getInstance()
|
||||
if (dltConnector) {
|
||||
dltConnector.transmitTransaction(transaction).catch(() => {
|
||||
logger.error('error on transmit creation transaction')
|
||||
})
|
||||
}
|
||||
*/
|
||||
await EVENT_CONTRIBUTION_LINK_REDEEM(
|
||||
user,
|
||||
transaction,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user