lib/yoti/util/anchor_processor.rb in yoti-1.9.0 vs lib/yoti/util/anchor_processor.rb in yoti-1.10.0

- old
+ new

@@ -18,10 +18,10 @@ # Extract matching Attribute Anchors from list. # # @return [Array<Yoti::Anchor>] # def process - result_data = ANCHOR_LIST_KEYS.map { |key, _value| [key, []] }.to_h + result_data = ANCHOR_LIST_KEYS.transform_values { |_value| [] } @anchors_list.each do |anchor| x509_certs_list = convert_certs_list_to_X509(anchor.origin_server_certs) signed_time_stamp = process_signed_time_stamp(anchor.signed_time_stamp) yoti_anchor = get_anchor_from_certs(x509_certs_list, anchor.sub_type, signed_time_stamp)