loop/staticaddr
Slyghtning 7b29d9215e
staticaddr/loopin: list failed swaps by state
GetStaticAddressLoopInSwapsByStates passes a comma-separated
state list into a SQL LIKE membership check. The query wraps the
input with commas before matching latest update states as
comma-delimited tokens.

Wrapping that list in braces meant the first and last states
were not bounded by commas, so boundary entries in a state set
could be missed. In particular, Failed is the last final
static-address loop-in state, which made final-state queries skip
failed swaps.

Drop the braces from the serialized state list and extend the
SQL store test with a failed swap so the final-state boundary is
covered.
2026-06-01 10:46:52 +02:00
..
address Merge pull request #1133 from 0xfandom/refactor/1056-move-parameters-to-script 2026-05-20 22:02:57 +02:00
deposit staticaddr: cancel loop-ins when deposit inputs vanish 2026-06-01 10:46:51 +02:00
loopin staticaddr/loopin: list failed swaps by state 2026-06-01 10:46:52 +02:00
openchannel staticaddr: apply confirmation policy by flow 2026-06-01 10:46:50 +02:00
script staticaddr: fix timeout comment typo 2026-05-27 11:49:49 +02:00
staticutil staticaddr: move address.Parameters to script package 2026-05-01 15:54:37 +05:30
version multi: do not rename swapserverrpc to looprpc 2024-09-10 09:54:17 -03:00
withdraw staticaddr: apply confirmation policy by flow 2026-06-01 10:46:50 +02:00
log.go staticaddr: open channel manager 2026-02-26 20:57:26 +01:00