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
doc: offline-signing-tutorial.md uses >> (append) instead of > (overwrite) for one-shot PSBT files #35862
line 180 — sendrawtransaction $(cat /path/to/final_psbt.txt)
so if someone reruns the send step (say they typo'd the amount or just want to redo it) without deleting the file first, >> just adds another line instead of overwritting it. then unquoted $(cat file) splits that into two separate args, and evry RPC that reads it (decodepsbt, analyzepsbt, walletprocesspsbt, sendrawtransaction) throws a "too many arguments" error. kind of a bad spot to get stuck in, given this whole tutorial is about careful key handling.
Activity
GuTS805 commentedon Aug 1, 2026
Happy to open a PR for this if maintainers agree it's worth fixing it's a 2-line, doc-only change with no functional/consensus impact.
fanquake commentedon Aug 13, 2026
Given a PR exists (#35890), I don't think we need to keep an issue open for this.
doc: use overwrite (>) instead of append (>>) for one-shot PSBT files…
Merge #35890: doc: use overwrite (>) instead of append (>>) for one-s…
doc: use overwrite (>) instead of append (>>) for one-shot PSBT files…