Skip to content

Commit

Permalink
note
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelsutton authored and coderofstuff committed Nov 23, 2023
1 parent 804f955 commit dcdf65d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rpc/service/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,7 @@ impl RpcApi for RpcCoreService {
}
}

// Note: it is safe to assume all entries exist in the map since the first sampled header is expected to have daa_score=0
let timestamps = request.daa_scores.iter().map(|curr_daa_score| daa_score_timestamp_map[curr_daa_score]).collect();

Ok(GetDaaScoreTimestampEstimateResponse::new(timestamps))
Expand Down

0 comments on commit dcdf65d

Please sign in to comment.