diff options
| author | Adam Soltys <[email protected]> | 2024-09-13 23:18:58 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-09-17 09:19:26 -0700 |
| commit | 6890311faca2bed1b8d22dbd88b8925f382eedd2 (patch) | |
| tree | 3468812c61ca739b3953c100b6477c7393bbc88a /src/routes/(app)/send | |
| parent | 11b981a1a58d96460d599726fe90565caa06b706 (diff) | |
| download | coinos-ui-6890311faca2bed1b8d22dbd88b8925f382eedd2.tar.gz coinos-ui-6890311faca2bed1b8d22dbd88b8925f382eedd2.zip | |
fix some redirects
Diffstat (limited to 'src/routes/(app)/send')
| -rw-r--r-- | src/routes/(app)/send/bitcoin/[address]/[amount]/[...feeRate]/+page.svelte | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/routes/(app)/send/bitcoin/[address]/[amount]/[...feeRate]/+page.svelte b/src/routes/(app)/send/bitcoin/[address]/[amount]/[...feeRate]/+page.svelte index 0630948c..f6c6980d 100644 --- a/src/routes/(app)/send/bitcoin/[address]/[amount]/[...feeRate]/+page.svelte +++ b/src/routes/(app)/send/bitcoin/[address]/[amount]/[...feeRate]/+page.svelte @@ -6,7 +6,15 @@ import Icon from "$comp/Icon.svelte"; import Spinner from "$comp/Spinner.svelte"; import { page } from "$app/stores"; - import { fiat as toFiat, f, focus, s, sat, closest, network } from "$lib/utils"; + import { + fiat as toFiat, + f, + focus, + s, + sat, + closest, + network, + } from "$lib/utils"; import { pin } from "$lib/store"; import { goto, invalidate } from "$app/navigation"; import { rate } from "$lib/store"; @@ -36,6 +44,7 @@ goto(result.location); } else { await applyAction(result); + invalidate("app:payments"); } }; }; @@ -55,7 +64,6 @@ let key = child.derive(path); let { privateKey, publicKey } = key; let address = btc.getAddress("wpkh", privateKey, network); - console.log("ADDR", address) tx.signIdx(privateKey, i); } tx.finalize(); |
