We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21b4c4b commit 919e71dCopy full SHA for 919e71d
wallets/server/receive.js
@@ -145,8 +145,6 @@ async function _protocolCreateInvoice (protocol, {
145
expiry = 360
146
}, { logger, models }) {
147
// check for pending withdrawals
148
-
149
- // TODO(wallet-v2): make sure this still works as intended
150
const pendingWithdrawals = await models.withdrawl.count({
151
where: {
152
protocolId: protocol.id,
@@ -155,7 +153,6 @@ async function _protocolCreateInvoice (protocol, {
155
153
})
156
154
157
// and pending forwards
158
159
const pendingForwards = await models.invoiceForward.count({
160
161
0 commit comments