Commit b38215a
committed
a880170 fix(bdk_esplora): use `get_blocks_infos` instead of `get_blocks` (Leonardo Lima)
Pull request description:
### Description
The `get_blocks` method from `esplora-client` has been deprecated on the latest release `v0.12.3`. I'm updating it to use newly added one: `get_blocks_infos` in order to fix the deprecation warning.
### Changelog notice
```
### Changed
- fix(bdk_esplora): use `get_block_infos` instead of deprecated `get_blocks`
```
### Checklists
#### All Submissions:
* [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md)
#### New Features:
* [x] I've added tests for the new feature
* [x] I've added docs for the new feature
ACKs for top commit:
luisschwab:
ACK a880170
reez:
ACK a880170
Tree-SHA512: 21afb07a10b1c6da519b414cd6c23aeff42d4e9f2b76ecf4c1a6f9abee1a2609c9ff6e6c81608c2497eb9831faf1687355c9428e0f3c48ca4efaa3a2003355a8
2 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
187 | | - | |
| 187 | + | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
| 190 | + | |
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
| 173 | + | |
174 | 174 | | |
175 | | - | |
| 175 | + | |
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| |||
0 commit comments