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 }}
Repository navigation
Go example in how-to-issue-an-asset polls PollTransaction with no deadline #3168
The Go tab in docs/tokens/how-to-issue-an-asset.mdx:780 calls client.PollTransaction(ctx, sendResp.Hash) with ctx := context.Background() (line 792).
PollTransaction has no attempt cap. It polls until the status is SUCCESS or FAILED, or until the context ends ([email protected] clients/rpcclient/main.go:255-294). With a background context, a transaction that never lands keeps the program polling forever.
Suggested fix: the pattern the sibling Go tabs use (for example docs/build/guides/transactions/fee-bump-transactions.mdx:305-312):
poll with context.WithTimeout(ctx, 30*time.Second);
on context.DeadlineExceeded, report the status as unknown, not failed.
Activity
stellar-doxie commentedon Nov 18, 2026
🤖 Automated message from Doxie.
I saw this issue. Nobody with permission has called me in, so I take no action on it. A maintainer can call me in.
How to reach me:
/triage, add thebot:takelabel, or assign @kaankacar, @ElliotFriend or @wmendes./triage stop.bot:hands-offlabel.