Commit e9c494b
fix(bridge): reset expiry timer on first signature after burn/refund expiry
After on_finalize expires a burn or refund transaction, re-proposals add
signatures via add_stellar_sig_burn_transaction / add_stellar_sig_refund_transaction
but tx.block was never updated. This caused on_finalize to immediately
re-expire the transaction in the same block the new signature was added
(since current_block - old_block >= RetryInterval was still true).
Also removes dead code in propose_stellar_burn_transaction_or_add_sig where
a redundant contains_key check made the block-update branch unreachable.
Closes #1080
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 526158f commit e9c494b
1 file changed
Lines changed: 22 additions & 30 deletions
Lines changed: 22 additions & 30 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
253 | 246 | | |
254 | 247 | | |
255 | 248 | | |
| |||
260 | 253 | | |
261 | 254 | | |
262 | 255 | | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
283 | 262 | | |
284 | 263 | | |
285 | 264 | | |
| |||
319 | 298 | | |
320 | 299 | | |
321 | 300 | | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
322 | 309 | | |
323 | 310 | | |
324 | 311 | | |
| |||
397 | 384 | | |
398 | 385 | | |
399 | 386 | | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
400 | 392 | | |
401 | 393 | | |
402 | 394 | | |
| |||
0 commit comments