Currently we use `u8` for key type but it was pointed out that we should be using a `u64` and encoding it as a compact type. The reason our code works now is because the compact type encoding for a `u8` (less than 253) is the same as for a `u8`. This breaks the `serde` impl, as shown by changes to the regression tests. |
||
---|---|---|
.. | ||
data | ||
bip_174.rs | ||
psbt-sign-taproot.rs | ||
serde.rs | ||
serde_opcodes.rs |