Skip to content

Commit de229b2

Browse files
committed
Update for core-rpc 0.15
1 parent c60f18c commit de229b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ impl BitcoinD {
194194
// the call is succesfull not in the returned value.
195195
if client_base.call::<Value>("getblockchaininfo", &[]).is_ok() {
196196
client_base
197-
.create_wallet("default", None, None, None, None)
197+
.create_wallet("default", None, None, None, None, None)
198198
.unwrap();
199199
break Client::new(&node_url_default, Auth::CookieFile(cookie_file.clone()))
200200
.unwrap();
@@ -248,7 +248,7 @@ impl BitcoinD {
248248
pub fn create_wallet<T: AsRef<str>>(&self, wallet: T) -> Result<Client, Error> {
249249
let _ = self
250250
.client
251-
.create_wallet(wallet.as_ref(), None, None, None, None)?;
251+
.create_wallet(wallet.as_ref(), None, None, None, None, None)?;
252252
Ok(Client::new(
253253
&self.rpc_url_with_wallet(wallet),
254254
Auth::CookieFile(self.params.cookie_file.clone()),

0 commit comments

Comments
 (0)