Skip to content

Commit 3a93ee5

Browse files
committed
Fix deprecation version of get_header
We assumed the next version would be 0.1.2, but it turned out to be 0.2.
1 parent 2ffd44f commit 3a93ee5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/async.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ impl AsyncClient {
114114
}
115115

116116
#[deprecated(
117-
since = "0.1.2",
117+
since = "0.2.0",
118118
note = "Deprecated to improve alignment with Esplora API. Users should use `get_block_hash` and `get_header_by_hash` methods directly."
119119
)]
120120
/// Get a [`BlockHeader`] given a particular block height.

src/blocking.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ impl BlockingClient {
128128

129129
/// Get a [`BlockHeader`] given a particular block height.
130130
#[deprecated(
131-
since = "0.1.2",
131+
since = "0.2.0",
132132
note = "Deprecated to improve alignment with Esplora API. Users should use `get_block_hash` and `get_header_by_hash` methods directly."
133133
)]
134134
pub fn get_header(&self, block_height: u32) -> Result<BlockHeader, Error> {

0 commit comments

Comments
 (0)