Commit 467f1c0
committed
Merge rust-bitcoin#2837: pow: Fix off-by-one error
dd80a08 pow: Unit test from_hex_internal (Tobin C. Harding)
c16f7ad pow: Fix off-by-one error (Tobin C. Harding)
Pull request description:
This is a backport of the 2 patches in rust-bitcoin#2834, grammar mistakes in the commit log and all.
Note, one difference, we call `hex_u128` instead of `hex_u128_unchecked` because the unchecked version does not exist in `v0.32`.
ACKs for top commit:
apoelstra:
ACK dd80a08
Kixunil:
ACK dd80a08
Tree-SHA512: c93d47fb57105523284600e81f695091afb9d1c6b21dc4481b81c97e5fe97fc3842ae15c563f266166d18eff14bf256e550604ab2999f2b878393ae6a0ca8bdb1 file changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
434 | 434 | | |
435 | 435 | | |
436 | 436 | | |
437 | | - | |
| 437 | + | |
438 | 438 | | |
439 | 439 | | |
440 | 440 | | |
| |||
1589 | 1589 | | |
1590 | 1590 | | |
1591 | 1591 | | |
| 1592 | + | |
| 1593 | + | |
| 1594 | + | |
| 1595 | + | |
| 1596 | + | |
| 1597 | + | |
| 1598 | + | |
| 1599 | + | |
1592 | 1600 | | |
1593 | 1601 | | |
1594 | 1602 | | |
| |||
0 commit comments