Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the tss endpoint transaction/{hash} return the same response as the webhook #100

Open
gouthamp-stellar opened this issue Jan 6, 2025 · 0 comments
Assignees

Comments

@gouthamp-stellar
Copy link
Contributor

Right now, the /transaction/{transactionhash} endpoint returns a GetTransactionResponse: https://github.com/stellar/wallet-backend/blob/main/internal/serve/httphandler/tss_handler.go#L133

Change this so that it returns the same response as the webhook: https://github.com/stellar/wallet-backend/blob/main/internal/tss/types.go#L185

You'll have to look up the latest try for that transaction to get its error status code

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

No branches or pull requests

2 participants