File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ where
132132 let locked_runtime = self . tokio_runtime . read ( ) . unwrap ( ) ;
133133 if locked_runtime. as_ref ( ) . is_none ( ) {
134134 log_error ! ( self . logger, "Failed to update fee rate estimation: No runtime." ) ;
135- return * locked_fee_rate_cache . get ( & confirmation_target ) . unwrap_or ( & fallback_rate ) ;
135+ unreachable ! ( "Failed to broadcast transaction: No runtime." ) ;
136136 }
137137
138138 let est_fee_rate = tokio:: task:: block_in_place ( move || {
@@ -179,6 +179,7 @@ where
179179 let locked_runtime = self . tokio_runtime . read ( ) . unwrap ( ) ;
180180 if locked_runtime. as_ref ( ) . is_none ( ) {
181181 log_error ! ( self . logger, "Failed to broadcast transaction: No runtime." ) ;
182+ unreachable ! ( "Failed to broadcast transaction: No runtime." ) ;
182183 }
183184
184185 let res = tokio:: task:: block_in_place ( move || {
You can’t perform that action at this time.
0 commit comments