This check if fine as the internal error is opaque and this is checked in the input selection logic https://github.com/payjoin/rust-payjoin/blob/3f057e130d45c423a22c5e41007529cc0ee6894f/payjoin/src/core/receive/common/mod.rs#L273C51-L273C87
But ideally the receiver should fallback here instead. And we propogate the internally error somehow so we don't have a duplicate check
Originally posted by @arminsabouri in #1071 (comment)