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
[kotlin-sdk] Broadcast rejection flattens to ErrorUnknown(99) — add a dedicated pre-broadcast rejection code #4085
Priority: P1 — robustness of the no-double-pay classification every integrator must implement (the wallet currently message-matches; safe but brittle).
PlatformWalletError::TransactionBroadcast — the broadcaster's definitive "never reached any peer" rejection, with the reservation released — reaches Kotlin as Generic(nativeCode=99) with only a message prefix. Integrators must string-match to classify the failure as safely-not-broadcast (retryable without double-pay risk).
Ask: a dedicated error code/type for definitive pre-broadcast rejection, preserving the Core reject reason, so the classification is robust across SDK versions.
Fixed by #4308. A node rejection now maps to ErrorTransactionBroadcastRejected (26) → DashSdkError.PlatformWallet.TransactionBroadcastRejected, with the reject reason in the message, instead of ErrorUnknown(99). Closing.
Activity
HashEngineering commentedon Nov 9, 2026
Fixed by #4308. A node rejection now maps to
ErrorTransactionBroadcastRejected(26) →DashSdkError.PlatformWallet.TransactionBroadcastRejected, with the reject reason in the message, instead ofErrorUnknown(99). Closing.