@@ -28,11 +28,11 @@ use {
2828 bdk_wallet:: keys:: { DescriptorPublicKey , DescriptorSecretKey , SinglePubKey } ,
2929 std:: collections:: HashMap ,
3030} ;
31- #[ cfg( feature = "bip322 " ) ]
31+ #[ cfg( feature = "message_signer " ) ]
3232use {
3333 crate :: utils:: parse_signature_format,
3434 crate :: utils:: types:: MessageResult ,
35- bdk_bip322 :: { BIP322 , MessageProof } ,
35+ bdk_message_signer :: { MessageSigner , MessageProof } ,
3636} ;
3737
3838impl OfflineWalletSubCommand {
@@ -73,11 +73,11 @@ impl OfflineWalletSubCommand {
7373 Self :: CombinePsbt ( combine_psbt_command) => combine_psbt_command
7474 . execute ( ctx) ?
7575 . write_out ( std:: io:: stdout ( ) ) ,
76- #[ cfg( feature = "bip322 " ) ]
76+ #[ cfg( feature = "message_signer " ) ]
7777 Self :: SignMessage ( sign_message_command) => sign_message_command
7878 . execute ( ctx) ?
7979 . write_out ( std:: io:: stdout ( ) ) ,
80- #[ cfg( feature = "bip322 " ) ]
80+ #[ cfg( feature = "message_signer " ) ]
8181 Self :: VerifyMessage ( verify_message_command) => verify_message_command
8282 . execute ( ctx) ?
8383 . write_out ( std:: io:: stdout ( ) ) ,
@@ -764,7 +764,7 @@ impl AppCommand<AppContext<OfflineOperations<'_>>> for CombinePsbtCommand {
764764 }
765765}
766766
767- #[ cfg( feature = "bip322 " ) ]
767+ #[ cfg( feature = "message_signer " ) ]
768768#[ derive( Debug , Parser , Clone , PartialEq ) ]
769769pub struct SignMessageCommand {
770770 /// The message to sign
@@ -784,7 +784,7 @@ pub struct SignMessageCommand {
784784 pub utxos : Option < Vec < OutPoint > > ,
785785}
786786
787- #[ cfg( feature = "bip322 " ) ]
787+ #[ cfg( feature = "message_signer " ) ]
788788impl AppCommand < AppContext < OfflineOperations < ' _ > > > for SignMessageCommand {
789789 type Output = MessageResult ;
790790
@@ -814,7 +814,7 @@ impl AppCommand<AppContext<OfflineOperations<'_>>> for SignMessageCommand {
814814 }
815815}
816816
817- #[ cfg( feature = "bip322 " ) ]
817+ #[ cfg( feature = "message_signer " ) ]
818818#[ derive( Debug , Parser , Clone , PartialEq ) ]
819819pub struct VerifyMessageCommand {
820820 /// The signature proof to verify
@@ -830,7 +830,7 @@ pub struct VerifyMessageCommand {
830830 pub address : String ,
831831}
832832
833- #[ cfg( feature = "bip322 " ) ]
833+ #[ cfg( feature = "message_signer " ) ]
834834impl AppCommand < AppContext < OfflineOperations < ' _ > > > for VerifyMessageCommand {
835835 type Output = MessageResult ;
836836
0 commit comments