File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 20
20
use core:: fmt;
21
21
use prelude:: * ;
22
22
23
- use secp256k1:: { XOnlyPublicKey as _XOnlyPublicKey, KeyPair as _KeyPair} ;
24
-
25
23
use secp256k1:: { self , Secp256k1 , Verification , constants} ;
26
24
use hashes:: Hash ;
27
25
use util:: taproot:: { TapBranchHash , TapTweakHash } ;
28
26
use SchnorrSighashType ;
29
27
30
28
/// Deprecated re-export of [`secp256k1::XOnlyPublicKey`]
31
29
#[ deprecated( since = "0.28.0" , note = "Please use `util::key::XOnlyPublicKey` instead" ) ]
32
- pub type XOnlyPublicKey = _XOnlyPublicKey ;
30
+ pub type XOnlyPublicKey = secp256k1 :: XOnlyPublicKey ;
33
31
34
32
/// Deprecated re-export of [`secp256k1::KeyPair`]
35
33
#[ deprecated( since = "0.28.0" , note = "Please use `util::key::KeyPair` instead" ) ]
36
- pub type KeyPair = _KeyPair ;
34
+ pub type KeyPair = secp256k1 :: KeyPair ;
37
35
38
36
/// Untweaked BIP-340 X-coord-only public key
39
37
pub type UntweakedPublicKey = :: XOnlyPublicKey ;
You can’t perform that action at this time.
0 commit comments