mirror of
https://github.com/ZmnSCPxj/clboss.git
synced 2026-08-13 12:33:20 +02:00
After broadcasting a reverse-swap claim transaction, the handler recorded the claim with an UPDATE that had no WHERE clause, marking every row in BoltzServiceFactory_rsub lockedUp=1. Any other in-flight swap then took the "Already broadcasted claim tx." early exit and never broadcast its own claim; its off-chain payment stayed unsettled until the timeout/refund path unwound it. Add the same apiAccess + swapId predicates used by the neighboring SELECTs and DELETE, and a regression test that seeds two swaps, claims one, and asserts the sibling row is untouched. The test fails before this change and passes after. Reported by Vincenzo Palazzo (Bitcoin Security Council / Sentinel). Fixes #325. |
||
|---|---|---|
| .. | ||
| Detail | ||
| Connection.hpp | ||
| ConnectionIF.hpp | ||
| EnvIF.hpp | ||
| Service.hpp | ||
| ServiceFactory.cpp | ||
| ServiceFactory.hpp | ||
| SwapInfo.hpp | ||