File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ use bdk_wallet::error::CreateTxError as BdkCreateTxError;
22
22
use bdk_wallet:: keys:: bip39:: Error as BdkBip39Error ;
23
23
use bdk_wallet:: miniscript:: descriptor:: DescriptorKeyParseError as BdkDescriptorKeyParseError ;
24
24
use bdk_wallet:: miniscript:: psbt:: Error as BdkPsbtFinalizeError ;
25
+ #[ allow( deprecated) ]
25
26
use bdk_wallet:: signer:: SignerError as BdkSignerError ;
26
27
use bdk_wallet:: tx_builder:: AddUtxoError ;
27
28
use bdk_wallet:: LoadWithPersistError as BdkLoadWithPersistError ;
@@ -1503,6 +1504,7 @@ impl From<BdkPsbtFinalizeError> for PsbtFinalizeError {
1503
1504
}
1504
1505
}
1505
1506
1507
+ #[ allow( deprecated) ]
1506
1508
impl From < BdkSignerError > for SignerError {
1507
1509
fn from ( error : BdkSignerError ) -> Self {
1508
1510
match error {
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ use bdk_wallet::descriptor::policy::{
23
23
Condition as BdkCondition , PkOrF as BdkPkOrF , Policy as BdkPolicy ,
24
24
Satisfaction as BdkSatisfaction , SatisfiableItem as BdkSatisfiableItem ,
25
25
} ;
26
+ #[ allow( deprecated) ]
26
27
use bdk_wallet:: signer:: { SignOptions as BdkSignOptions , TapLeavesOptions } ;
27
28
use bdk_wallet:: AddressInfo as BdkAddressInfo ;
28
29
use bdk_wallet:: Balance as BdkBalance ;
@@ -656,6 +657,7 @@ impl From<BdkCondition> for Condition {
656
657
/// Options for a software signer.
657
658
///
658
659
/// Adjust the behavior of our software signers and the way a transaction is finalized.
660
+ #[ allow( deprecated) ]
659
661
#[ derive( uniffi:: Record ) ]
660
662
pub struct SignOptions {
661
663
/// Whether the signer should trust the `witness_utxo`, if the `non_witness_utxo` hasn't been
@@ -698,6 +700,7 @@ pub struct SignOptions {
698
700
pub allow_grinding : bool ,
699
701
}
700
702
703
+ #[ allow( deprecated) ]
701
704
impl From < SignOptions > for BdkSignOptions {
702
705
fn from ( options : SignOptions ) -> BdkSignOptions {
703
706
BdkSignOptions {
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ use crate::types::{
12
12
} ;
13
13
14
14
use bdk_wallet:: bitcoin:: Network ;
15
+ #[ allow( deprecated) ]
15
16
use bdk_wallet:: signer:: SignOptions as BdkSignOptions ;
16
17
use bdk_wallet:: { KeychainKind , PersistedWallet , Wallet as BdkWallet } ;
17
18
@@ -351,6 +352,7 @@ impl Wallet {
351
352
/// signers will follow the options, but the "software signers" (WIF keys and `xprv`) defined
352
353
/// in this library will.
353
354
#[ uniffi:: method( default ( sign_options = None ) ) ]
355
+ #[ allow( deprecated) ]
354
356
pub fn sign (
355
357
& self ,
356
358
psbt : Arc < Psbt > ,
@@ -377,6 +379,7 @@ impl Wallet {
377
379
///
378
380
/// The [`SignOptions`] can be used to tweak the behavior of the finalizer.
379
381
#[ uniffi:: method( default ( sign_options = None ) ) ]
382
+ #[ allow( deprecated) ]
380
383
pub fn finalize_psbt (
381
384
& self ,
382
385
psbt : Arc < Psbt > ,
You can’t perform that action at this time.
0 commit comments