fix: do not crash on fee estimation (#154)

This commit is contained in:
Carlo Sala
2026-06-08 17:34:00 +02:00
committed by GitHub
parent 846f7a3562
commit b91e589c75

View File

@@ -47,6 +47,7 @@ import {
combineLatest,
defer,
map,
of,
scan,
switchMap,
timer,
@@ -187,6 +188,7 @@ const paymentInfo$ = state(
switchMap(() =>
tx.getPaymentInfo(account.signer!.publicKey, txOptions),
),
catchError(() => of(null)),
)
}),
liftSuspense(),