File tree 2 files changed +5
-1
lines changed
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ impl RpcApiWrapper for Client {
57
57
/// it's previous state. Meaning it won't clear database. This is helpful
58
58
/// for cloning the `Client` structure.
59
59
#[ tracing:: instrument]
60
+ #[ allow( deprecated) ]
60
61
fn new_without_cleanup ( url : & str , _auth : Auth ) -> bitcoincore_rpc:: Result < Self > {
61
62
Ok ( Self {
62
63
ledger : Ledger :: new_without_cleanup ( url) ,
Original file line number Diff line number Diff line change @@ -83,7 +83,10 @@ impl Ledger {
83
83
/// # Panics
84
84
///
85
85
/// Panics if SQLite connection can't be established.
86
- #[ deprecated( since="0.0.11" , note="`new()` also checks for open ledgers, not needed" ) ]
86
+ #[ deprecated(
87
+ since = "0.0.11" ,
88
+ note = "`new()` also checks for open ledgers, not needed"
89
+ ) ]
87
90
pub fn new_without_cleanup ( path : & str ) -> Self {
88
91
let path = Ledger :: get_database_path ( path) ;
89
92
You can’t perform that action at this time.
0 commit comments