]> git.bitcoin.ninja Git - rust-lightning/commit
Fix lightning-block-sync warnings.
authorArik Sosman <git@arik.io>
Wed, 14 Aug 2024 20:31:40 +0000 (13:31 -0700)
committerArik Sosman <git@arik.io>
Fri, 16 Aug 2024 17:31:45 +0000 (10:31 -0700)
commit92aac2a2aec44eadcb2a41ea658ae49a6c010834
tree425f78b51cc18ea3a41d8480f0c95c4425d27dc2
parent813202f5544d9b4fbbf2437af0ae8a4e31d0a6d7
Fix lightning-block-sync warnings.

Version 0.32.2 of `rust-bitcoin` deprecates a number of methods that
are commonly used in this project, most visibly `txid()`, which is
now called `compute_txid()`. This resulted in a lot of warnings, and
this commit is part of a series that seeks to address that.
lightning-block-sync/src/gossip.rs
lightning-block-sync/src/poll.rs
lightning-block-sync/src/test_utils.rs