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
payjoin commands print progress text to stdout, so their output isn't valid JSON #397
receive_payjoin, send_payjoin and resume_payjoin return a JSON object from execute, but PayjoinManager also writes progress messages to stdout with println! while it runs. A script that pipes these commands into a JSON parser gets human-readable text followed by a JSON object, and the parse fails.
I'd like to work on this. Planning to switch the progress messages in payjoin/mod.rs from println! to eprintln!, so they still show in the terminal but stdout only carries the JSON. @tvpeter
Activity
chukwudiikeh commentedon Dec 2, 2026
I'd like to work on this. Planning to switch the progress messages in payjoin/mod.rs from println! to eprintln!, so they still show in the terminal but stdout only carries the JSON. @tvpeter