File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ pub(crate) fn construct_channel_manager(
97
97
get_est_sat_per_1000_weight_ptr : Ref < fee_estimator_fn:: GetEstSatPer1000WeightPtr > ,
98
98
cur_block_height : usize ,
99
99
100
- ) -> Result < FFIArcChannelManager , secp256k1 :: Error > {
100
+ ) -> FFIArcChannelManager {
101
101
let network = ffi_network. to_network ( ) ;
102
102
let now = SystemTime :: now ( ) . duration_since ( UNIX_EPOCH ) . unwrap ( ) ;
103
103
let mut seed: [ u8 ; 32 ] = unsafe_block ! ( "it points to valid length buffer" => seed. as_ref( ) ) . clone ( ) . bytes ;
@@ -176,7 +176,7 @@ ffi! {
176
176
log_ref,
177
177
get_est_sat_per_1000_weight_ptr,
178
178
cur_block_height,
179
- ) ? ;
179
+ ) ;
180
180
unsafe_block!( "We know chan_man is not null by wrapper macro. And we know `Out` is writable" => chan_man. init( HandleShared :: alloc( chan_man_raw) ) ) ;
181
181
FFIResult :: ok( )
182
182
}
You can’t perform that action at this time.
0 commit comments