[bdk_chain_redesign] Introduce Append trait for additions

Before, we were using `core::ops::AddAsign` but it was not the most
appropriate.
This commit is contained in:
志宇
2023-04-05 17:29:20 +08:00
parent 89cfa4d78e
commit da4cef044d
5 changed files with 28 additions and 27 deletions

View File

@@ -13,7 +13,7 @@ use bdk_chain::{
Descriptor, DescriptorPublicKey,
},
sparse_chain::{self, ChainPosition},
DescriptorExt, FullTxOut,
Append, DescriptorExt, FullTxOut,
};
use bdk_coin_select::{coin_select_bnb, CoinSelector, CoinSelectorOpt, WeightedValue};
use bdk_file_store::KeychainStore;