File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
example-crates/example_cli Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ edition = "2021"
77
88[dependencies ]
99bdk_chain = { path = " ../../crates/chain" , features = [" serde" , " miniscript" ]}
10- bdk_coin_select = " 0.3.0 "
10+ bdk_coin_select = " 0.4 "
1111bdk_file_store = { path = " ../../crates/file_store" }
1212bitcoin = { version = " 0.32.0" , features = [" base64" ], default-features = false }
1313
Original file line number Diff line number Diff line change @@ -292,7 +292,7 @@ where
292292 . map ( |( plan, utxo) | {
293293 Candidate :: new (
294294 utxo. txout . value . to_sat ( ) ,
295- plan. satisfaction_weight ( ) as u32 ,
295+ plan. satisfaction_weight ( ) as u64 ,
296296 plan. witness_version ( ) . is_some ( ) ,
297297 )
298298 } )
@@ -334,7 +334,7 @@ where
334334 outputs : TargetOutputs :: fund_outputs (
335335 outputs
336336 . iter ( )
337- . map ( |output| ( output. weight ( ) . to_wu ( ) as u32 , output. value . to_sat ( ) ) ) ,
337+ . map ( |output| ( output. weight ( ) . to_wu ( ) , output. value . to_sat ( ) ) ) ,
338338 ) ,
339339 fee : TargetFee {
340340 rate : FeeRate :: from_sat_per_vb ( feerate) ,
You can’t perform that action at this time.
0 commit comments