Ah, yep, this serialization is unnecessary (though it's unrelated to this PR I think and can be done separately). _Originally posted by @apoelstra in https://github.com/rust-bitcoin/rust-miniscript/pull/679#discussion_r1601598150_ Use [`serialize()`](https://docs.rs/bitcoin/latest/bitcoin/ecdsa/struct.Signature.html#method.serialize) instead for ECDSA and Schnorr sigs.