https://github.com/rust-bitcoin/rust-bitcoin/pull/819#discussion_r801472840 And check/fix other cases as well.