Commit c2ad0b1
committed
Merge rust-bitcoin#5089: consensus_encoding: Add new() constructor to
6c79abb Add new() constructor to CompactSizeDecoder (jrakibi)
Pull request description:
For consistency with other decoders, we add a `new()` constructor to `CompactSizeDecoder` to match other decoders (ByteVecDecoder, VecDecoder, ArrayDecoder)
Closes rust-bitcoin#5080
ACKs for top commit:
nyonson:
ACK 6c79abb
apoelstra:
ACK 6c79abb; successfully ran local tests
tcharding:
ACK 6c79abb
Tree-SHA512: 435a57061d3a0836fcdfd16265e380a137479e2ea6883a7ea34b6e2dd4150e322a03b6b55a726708169ac1a0d78d812c873fa2dcb41bde889dacd03ed0a3d907CompactSizeDecoder
1 file changed
+12
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| |||
602 | 602 | | |
603 | 603 | | |
604 | 604 | | |
605 | | - | |
| 605 | + | |
606 | 606 | | |
607 | 607 | | |
608 | 608 | | |
609 | 609 | | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
610 | 619 | | |
611 | 620 | | |
612 | 621 | | |
| |||
934 | 943 | | |
935 | 944 | | |
936 | 945 | | |
937 | | - | |
| 946 | + | |
938 | 947 | | |
939 | 948 | | |
940 | 949 | | |
| |||
0 commit comments