diff --git a/CHANGELOG.md b/CHANGELOG.md index 854a40660a..24bda857ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -205,7 +205,7 @@ BDK and LDK together. - `verify` flag removed from `TransactionDetails`. - Add `get_internal_address` to allow you to get internal addresses just as you get external addresses. - added `ensure_addresses_cached` to `Wallet` to let offline wallets load and cache addresses in their database -- Add `is_spent` field to `LocalUtxo`; when we notice that a utxo has been spent we set `is_spent` field to true instead of deleting it from the db. +- Add `is_spent` field to `LocalOutput`; when we notice that a utxo has been spent we set `is_spent` field to true instead of deleting it from the db. ### Sync API change @@ -398,7 +398,7 @@ final transaction is created by calling `finish` on the builder. ### `add_foreign_utxo` -- Renamed `UTXO` to `LocalUtxo` +- Renamed `UTXO` to `LocalOutput` - Added `WeightedUtxo` to replace floating `(UTXO, usize)`. - Added `Utxo` enum to incorporate both local utxos and foreign utxos - Added `TxBuilder::add_foreign_utxo` which allows adding a utxo external to the wallet. diff --git a/crates/bdk/src/wallet/mod.rs b/crates/bdk/src/wallet/mod.rs index 4db035fb6c..9ef76610b7 100644 --- a/crates/bdk/src/wallet/mod.rs +++ b/crates/bdk/src/wallet/mod.rs @@ -2245,7 +2245,7 @@ impl Wallet { Ok(psbt) } - /// get the corresponding PSBT Input for a LocalUtxo + /// get the corresponding PSBT Input for a LocalOutput pub fn get_psbt_input( &self, utxo: LocalOutput,