populate empty value

This commit is contained in:
boufni95 2024-03-05 19:00:22 +01:00
parent 446d3e889b
commit 501955b4c3

View file

@ -215,7 +215,8 @@ export default class {
}
} else {
await this.storage.userStorage.DecrementUserBalance(ctx.user_id, req.amoutSats + serviceFee)
this.addressPaidCb({ hash: crypto.randomBytes(32).toString("hex"), index: 0 }, req.address, req.amoutSats, true)
txId = crypto.randomBytes(32).toString("hex")
this.addressPaidCb({ hash: txId, index: 0 }, req.address, req.amoutSats, true)
}
if (isAppUserPayment && serviceFee > 0) {