File tree Expand file tree Collapse file tree
crates/iota-core/src/authority_server Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -104,7 +104,8 @@ impl ValidatorService {
104104 & consensus_adapter,
105105 transaction. data ( ) ,
106106 state. check_system_overload_at_signing ( ) ,
107- false , // white_flag_flow_enabled
107+ // `false` means white-flag flow is disabled - ensured by `fp_ensure!` above
108+ false ,
108109 ) ;
109110 if let Err ( error) = overload_check_res {
110111 metrics
@@ -242,7 +243,8 @@ impl ValidatorService {
242243 & self . consensus_adapter ,
243244 certificate. data ( ) ,
244245 self . state . check_system_overload_at_execution ( ) ,
245- false , // white_flag_flow_enabled
246+ // `false` means white-flag flow is disabled - ensured by `fp_ensure!` in callers
247+ false ,
246248 ) ;
247249 if let Err ( error) = overload_check_res {
248250 self . metrics
Original file line number Diff line number Diff line change @@ -161,7 +161,8 @@ impl ValidatorService {
161161 consensus_adapter,
162162 transaction. data ( ) ,
163163 state. check_system_overload_at_signing ( ) ,
164- true , // white_flag_flow_enabled
164+ // `true` means white-flag flow is enabled - ensured by `fp_ensure!` in the caller
165+ true ,
165166 ) {
166167 metrics
167168 . num_rejected_tx_during_overload
You can’t perform that action at this time.
0 commit comments