File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,6 @@ edition = "2018"
8
8
9
9
[dependencies ]
10
10
miniscript = {path = " ../" }
11
- bitcoind = { version = " 0.29.3" , features =[ " 23_0 " ] }
11
+ bitcoind = { version = " 0.29.3" }
12
12
actual-rand = { package = " rand" , version = " 0.8.4" }
13
- secp256k1 = {version = " 0.24 .0" , features = [" rand-std" ]}
13
+ secp256k1 = {version = " 0.27 .0" , features = [" rand-std" ]}
Original file line number Diff line number Diff line change @@ -8,6 +8,12 @@ pub mod test_util;
8
8
9
9
// Launch an instance of bitcoind with
10
10
pub fn setup ( ) -> BitcoinD {
11
+ // Create env var BITCOIND_EXE_PATH to point to the ../bitcoind/bin/bitcoind binary
12
+ let key = "BITCOIND_EXE" ;
13
+ let curr_dir_path = std:: env:: current_dir ( ) . unwrap ( ) ;
14
+ let bitcoind_path = curr_dir_path. join ( "bin" ) . join ( "bitcoind" ) ;
15
+ std:: env:: set_var ( key, bitcoind_path) ;
16
+
11
17
let exe_path = bitcoind:: exe_path ( ) . unwrap ( ) ;
12
18
let bitcoind = bitcoind:: BitcoinD :: new ( exe_path) . unwrap ( ) ;
13
19
let cl = & bitcoind. client ;
You can’t perform that action at this time.
0 commit comments