Remove wallet v2 TODOs

This commit is contained in:
ekzyis 2025-09-19 15:01:43 +02:00
parent 21b4c4befb
commit 919e71de79

View File

@ -145,8 +145,6 @@ async function _protocolCreateInvoice (protocol, {
expiry = 360
}, { logger, models }) {
// check for pending withdrawals
// TODO(wallet-v2): make sure this still works as intended
const pendingWithdrawals = await models.withdrawl.count({
where: {
protocolId: protocol.id,
@ -155,7 +153,6 @@ async function _protocolCreateInvoice (protocol, {
})
// and pending forwards
// TODO(wallet-v2): make sure this still works as intended
const pendingForwards = await models.invoiceForward.count({
where: {
protocolId: protocol.id,