Commit 6a669bf
committed
252053c3d63788d40226a7b3a2c95b487f1b2ac5 Add `from_u8_masked` `RecoveryId` constructor (Jamil Lambert, PhD)
Pull request description:
Add an infallible constructor that takes a u8 and masks off the top 6 bits.
Mentioned in rust-bitcoin/rust-bitcoin#3965
ACKs for top commit:
tcharding:
ACK 252053c3d63788d40226a7b3a2c95b487f1b2ac5
Kixunil:
ACK 252053c3d63788d40226a7b3a2c95b487f1b2ac5
apoelstra:
ACK 252053c3d63788d40226a7b3a2c95b487f1b2ac5; successfully ran local tests
Tree-SHA512: 698b5289358e39c9cf3137d5291dc08de9bc65c0d36aaad839b9e00e1414a72901c02dd101354422019f9fe396c8c7c4e28465ba38700e67a790c9fa29bd682b
1 file changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
28 | 41 | | |
29 | 42 | | |
30 | 43 | | |
| |||
0 commit comments