]> Untitled Git - bdk/commitdiff
docs(esplora): README example, uncomment async import
author志宇 <hello@evanlinjin.me>
Mon, 12 Aug 2024 04:23:16 +0000 (04:23 +0000)
committer志宇 <hello@evanlinjin.me>
Wed, 14 Aug 2024 08:16:58 +0000 (08:16 +0000)
crates/esplora/README.md

index d61b09aa63885539359ff8c468a7725fc9149c7d..ef2e65176065214cf0b399736ccf576f30c33b26 100644 (file)
@@ -27,8 +27,8 @@ To use the extension traits:
 ```rust
 // for blocking
 use bdk_esplora::EsploraExt;
-// // for async
-// use bdk_esplora::EsploraAsyncExt;
+// for async
+use bdk_esplora::EsploraAsyncExt;
 ```
 
 For full examples, refer to [`example-crates/wallet_esplora_blocking`](https://github.com/bitcoindevkit/bdk/tree/master/example-crates/wallet_esplora_blocking) and [`example-crates/wallet_esplora_async`](https://github.com/bitcoindevkit/bdk/tree/master/example-crates/wallet_esplora_async).