fix: improve more docs and more refactoring

Thank you @vladimirfomene for these suggestions.

* Rename `LocalUpdate::keychain` to `LocalUpdate::last_active_indices`.
* Change docs for `CheckPoint` to be more descriptive.
* Fix incorrect logic in `update_local_chain` for `EsploraExt` and
  `EsploraAsyncExt`.
This commit is contained in:
志宇 committed 2023-07-28 11:37:17 +08:00
1 parent 95312d4d05
commit db15e03bdc
9 files changed
+21 -16

No files matched your search

-1
View File
@@ -282,7 +282,6 @@ impl EsploraAsyncExt for esplora_client::AsyncClient {
async move { client.get_tx_status(&txid).await.map(|s| (txid, s)) }
})
.collect::<FuturesOrdered<_>>();
// .collect::<Vec<JoinHandle<Result<(Txid, TxStatus), Error>>>>();
if handles.is_empty() {
break;