Skip to content

fix(gui): refresh swap info immediately - #1175

Closed
louiss72 wants to merge 1 commit into
eigenwallet:masterfrom
louiss72:refresh-swap-info-retries-822
Closed

louiss72 wants to merge 1 commit into
eigenwallet:masterfrom
louiss72:refresh-swap-info-retries-822

Conversation

@louiss72

Copy link
Copy Markdown

Fixes #822.

This removes the debounce nested inside the swap progress updater. The previous structure throttled a debounced callback, so the first progress event still waited for the debounce delay and continuous swap progress could keep pushing the history refresh later. The updater now uses a leading/trailing throttle directly, so swap info and timelock refresh immediately on the first progress event while still coalescing rapid follow-up events.

Validation:

  • npx eslint src/store/middleware/storeListener.ts
  • git diff --check

Note: npm run tsc could not complete in this checkout because the generated src/models/tauriModel.ts binding is gitignored and typeshare is not installed locally (npm run gen-bindings fails with typeshare: command not found).

Bounty payout address (XMR): 4DSQMNzzq46N1z2pZWAVdeA6JvUL9TCB2bnBiA3ZzoqEdYJnMydt5akCa3vtmapeDsbVKGPFdNkzqTcJS8M8oyK7WGjNk99k1B6CoKjvH5

@Einliterflasche

Copy link
Copy Markdown

We are not accepting vibe coded PRs. https://github.com/eigenwallet/core/blob/master/AI_POLICY.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[0.1 XMR] Swaps take too long to show up

2 participants