Skip to content

Commit

Permalink
Merge pull request #2 from conduition/dlc
Browse files Browse the repository at this point in the history
avoid re-settling already settled DLC
  • Loading branch information
lollerfirst authored Aug 23, 2024
2 parents 0c810fa + 162cd47 commit c38b2ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cashu/mint/db/write.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ async def _settle_dlc(
dlc_root=settlement.dlc_root,
details="DLC already settled"
))
continue

assert settlement.outcome
await self.crud.set_dlc_settled_and_debts(settlement.dlc_root, settlement.outcome.P, self.db, conn)
Expand Down

0 comments on commit c38b2ed

Please sign in to comment.