Skip to content

Commit 3269447

Browse files
committed
f RB: Account for PartiallySignedTransaction being renamed
1 parent 9e388a9 commit 3269447

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wallet/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ use bitcoin::blockdata::constants::WITNESS_SCALE_FACTOR;
3333
use bitcoin::blockdata::locktime::absolute::LockTime;
3434
use bitcoin::hashes::Hash;
3535
use bitcoin::key::XOnlyPublicKey;
36-
use bitcoin::psbt::PartiallySignedTransaction;
36+
use bitcoin::psbt::Psbt;
3737
use bitcoin::secp256k1::ecdh::SharedSecret;
3838
use bitcoin::secp256k1::ecdsa::{RecoverableSignature, Signature};
3939
use bitcoin::secp256k1::{PublicKey, Scalar, Secp256k1, SecretKey, Signing};
@@ -461,7 +461,7 @@ where
461461
Ok(address_info.address.script_pubkey())
462462
}
463463

464-
fn sign_psbt(&self, mut psbt: PartiallySignedTransaction) -> Result<Transaction, ()> {
464+
fn sign_psbt(&self, mut psbt: Psbt) -> Result<Transaction, ()> {
465465
let locked_wallet = self.inner.lock().unwrap();
466466

467467
// While BDK populates both `witness_utxo` and `non_witness_utxo` fields, LDK does not. As

0 commit comments

Comments
 (0)