You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 14, 2023. It is now read-only.
So this code breaks if I cancel the transaction, even though it's in a try catch block
The initial fix was to add await await sent.transactionStatuses
but then it will be stuck forever, unless I add return true
if (status === 'ready') {
setStatus(...);
return true;
}
unfortunately this creates a new issue, now the first transaction will be called twice in a row
I receive a popup two times, after confirming the second one, only then it proceeds further
'sent' is an ExtrinsicStatusRune here
So this code breaks if I cancel the transaction, even though it's in a try catch block
The initial fix was to add await
await sent.transactionStatusesbut then it will be stuck forever, unless I add
return trueunfortunately this creates a new issue, now the first transaction will be called twice in a row
I receive a popup two times, after confirming the second one, only then it proceeds further