Merge pull request #646 from shocknet/fix-contraint
populate empty value
This commit is contained in:
commit
b7291b79f1
1 changed files with 2 additions and 1 deletions
|
|
@ -215,7 +215,8 @@ export default class {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
await this.storage.userStorage.DecrementUserBalance(ctx.user_id, req.amoutSats + serviceFee)
|
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) {
|
if (isAppUserPayment && serviceFee > 0) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue