Commit 702db71
committed
Merge rust-bitcoin/rust-secp256k1#800: Improve
fed623ef9803fe28f44e7cd331e25b9149a1154b Implement From on u8 for RecoveryId instead of i32 (Tobin C. Harding)
9b4fa8bdc05ef20f4fadd7f1fb73a51cb41d1854 Add RecoveryId getter (Tobin C. Harding)
Pull request description:
Add the `to_u8` getter discussed in issue #774 and then make the `From` impl be on `u8`.
Close: #774
ACKs for top commit:
apoelstra:
ACK fed623ef9803fe28f44e7cd331e25b9149a1154b; successfully ran local tests
Tree-SHA512: 5a341cbc78d53474a8ffa8fd7fa20796da28e67d226f0298873cd22bfa137d29642b22cabcac1bc8dcd03e6547ae5272990b315dd5808d7e5c775990705cd193RecoveryId conversion functions2 files changed
+16
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
| 50 | + | |
54 | 51 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
39 | 49 | | |
40 | 50 | | |
41 | 51 | | |
| |||
52 | 62 | | |
53 | 63 | | |
54 | 64 | | |
55 | | - | |
| 65 | + | |
56 | 66 | | |
57 | 67 | | |
58 | 68 | | |
| |||
86 | 96 | | |
87 | 97 | | |
88 | 98 | | |
89 | | - | |
| 99 | + | |
90 | 100 | | |
91 | 101 | | |
92 | 102 | | |
| |||
113 | 123 | | |
114 | 124 | | |
115 | 125 | | |
116 | | - | |
| 126 | + | |
117 | 127 | | |
118 | 128 | | |
119 | 129 | | |
| |||
451 | 461 | | |
452 | 462 | | |
453 | 463 | | |
454 | | - | |
| 464 | + | |
455 | 465 | | |
456 | | - | |
| 466 | + | |
457 | 467 | | |
458 | 468 | | |
459 | 469 | | |
| |||
0 commit comments