Skip to content

Commit 672665a

Browse files
committed
fix(rad): fix try_data_request function
1 parent b6b2e3f commit 672665a

File tree

3 files changed

+76
-66
lines changed

3 files changed

+76
-66
lines changed

node/src/actors/rad_manager/handlers.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,14 @@ impl Handler<ResolveRA> for RadManager {
7474
// Perform aggregation on the values that made it to the output vector after applying the
7575
// source scripts (aka _normalization scripts_ in the original whitepaper) and filtering out
7676
// failures.
77-
witnet_rad::run_aggregation_report(
77+
let (res, _) = witnet_rad::run_aggregation_report(
7878
values,
7979
&aggregator,
8080
RadonScriptExecutionSettings::all_but_partial_results(),
8181
msg.active_wips,
82-
)
82+
);
83+
84+
res
8385
}
8486
Ok(TallyPreconditionClauseResult::MajorityOfErrors { errors_mode }) => {
8587
Ok(RadonReport::from_result(

0 commit comments

Comments
 (0)