Skip to content

Commit 4c3ff75

Browse files
committed
Remove unnecessary feature gate
The feature gate on with_wallet is not needed. Remove it.
1 parent 4e35595 commit 4c3ff75

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

node/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,6 @@ impl Node {
525525
/// Returns the rpc URL including the schema eg. http://127.0.0.1:44842
526526
pub fn rpc_url(&self) -> String { format!("http://{}", self.params.rpc_socket) }
527527

528-
#[cfg(any(feature = "0_19_1", not(feature = "download")))]
529528
/// Returns the rpc URL including the schema and the given `wallet_name`
530529
/// eg. http://127.0.0.1:44842/wallet/my_wallet
531530
pub fn rpc_url_with_wallet<T: AsRef<str>>(&self, wallet_name: T) -> String {
@@ -546,7 +545,6 @@ impl Node {
546545
Ok(self.process.wait()?)
547546
}
548547

549-
#[cfg(any(feature = "0_19_1", not(feature = "download")))]
550548
/// Create a new wallet in the running node, and return an RPC client connected to the just
551549
/// created wallet
552550
pub fn create_wallet<T: AsRef<str>>(&self, wallet: T) -> anyhow::Result<Client> {

0 commit comments

Comments
 (0)