paltalabs / soroban-react

@soroban-react is a simple, powerful framework for building modern Soroban dApps using React.
https://soroban-react.paltalabs.io/
Apache License 2.0
31 stars 15 forks source link

Dont wait when you know that the tx fails #67

Open esteblock opened 1 year ago

esteblock commented 1 year ago

Currently, contractInvoke can know straight away if the tx will fail in the line const sendTransactionResponse = await server.sendTransaction(tx) There is no need to wait 20 seconds looking for a tx that you know has already failed

see logs:

Screenshot from 2023-11-09 14-02-02