File tree 4 files changed +15
-2
lines changed
4 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 46
46
" 0.20.0" ,
47
47
" 0.20.1" ,
48
48
" 0.21.0" ,
49
+ " 22.0" ,
50
+ " 23.0" ,
49
51
]
50
52
steps :
51
53
- name : Checkout Crate
Original file line number Diff line number Diff line change @@ -45,6 +45,8 @@ The following versions are officially supported and automatically tested:
45
45
* 0.20.0
46
46
* 0.20.1
47
47
* 0.21.0
48
+ * 22.0
49
+ * 23.0
48
50
49
51
# Minimum Supported Rust Version (MSRV)
50
52
This library should always compile with any combination of features on ** Rust 1.29** .
Original file line number Diff line number Diff line change @@ -28,7 +28,12 @@ if bitcoind -version | grep -q "v0\.2"; then
28
28
FALLBACKFEEARG=" -fallbackfee=0.00001000"
29
29
fi
30
30
31
- bitcoind -regtest $BLOCKFILTERARG $FALLBACKFEEARG \
31
+ COINSTATSINDEXARG=" "
32
+ if bitcoind -version | grep -q " v[2-9]" ; then
33
+ COINSTATSINDEXARG=" -coinstatsindex=1"
34
+ fi
35
+
36
+ bitcoind -regtest $BLOCKFILTERARG $FALLBACKFEEARG $COINSTATSINDEXARG \
32
37
-datadir=${TESTDIR} /2 \
33
38
-connect=127.0.0.1:12348 \
34
39
-rpcport=12349 \
Original file line number Diff line number Diff line change @@ -1030,7 +1030,11 @@ fn test_create_wallet(cl: &Client) {
1030
1030
}
1031
1031
1032
1032
fn test_get_tx_out_set_info ( cl : & Client ) {
1033
- cl. get_tx_out_set_info ( None , None , None ) . unwrap ( ) ;
1033
+ if version ( ) >= 220000 {
1034
+ cl. get_tx_out_set_info ( Some ( json:: TxOutSetHashType :: Muhash ) , None , Some ( true ) ) . unwrap ( ) ;
1035
+ } else {
1036
+ cl. get_tx_out_set_info ( None , None , None ) . unwrap ( ) ;
1037
+ }
1034
1038
}
1035
1039
1036
1040
fn test_get_chain_tips ( cl : & Client ) {
You can’t perform that action at this time.
0 commit comments