Recently we removed the `all_zeros` function from `OutPoint` in favour of a more meaningfully named associated const. We can do the same for `BlockHash`, the all zeros has is used for the previous blockhash of the genesis block, add a const named as such. In test code where we use the `all_zeros` function, just use the more explicit form `from_byte_array([0; 32])`. |
||
---|---|---|
.. | ||
contrib | ||
embedded | ||
examples | ||
src | ||
tests | ||
CHANGELOG.md | ||
Cargo.toml |