Remove wallet v2 TODOs
This commit is contained in:
parent
21b4c4befb
commit
919e71de79
@ -145,8 +145,6 @@ async function _protocolCreateInvoice (protocol, {
|
|||||||
expiry = 360
|
expiry = 360
|
||||||
}, { logger, models }) {
|
}, { logger, models }) {
|
||||||
// check for pending withdrawals
|
// check for pending withdrawals
|
||||||
|
|
||||||
// TODO(wallet-v2): make sure this still works as intended
|
|
||||||
const pendingWithdrawals = await models.withdrawl.count({
|
const pendingWithdrawals = await models.withdrawl.count({
|
||||||
where: {
|
where: {
|
||||||
protocolId: protocol.id,
|
protocolId: protocol.id,
|
||||||
@ -155,7 +153,6 @@ async function _protocolCreateInvoice (protocol, {
|
|||||||
})
|
})
|
||||||
|
|
||||||
// and pending forwards
|
// and pending forwards
|
||||||
// TODO(wallet-v2): make sure this still works as intended
|
|
||||||
const pendingForwards = await models.invoiceForward.count({
|
const pendingForwards = await models.invoiceForward.count({
|
||||||
where: {
|
where: {
|
||||||
protocolId: protocol.id,
|
protocolId: protocol.id,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user