Skip to content

Commit

Permalink
chore: fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench committed Aug 15, 2023
1 parent 4182a68 commit f261c73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/noirc_abi_wasm/src/temp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ impl JsonTypes {

(InputValue::String(s), AbiType::String { .. }) => JsonTypes::String(s.to_string()),

(InputValue::Struct(map), AbiType::Struct { fields }) => {
(InputValue::Struct(map), AbiType::Struct { fields, .. }) => {
let map_with_json_types = try_btree_map(fields, |(key, field_type)| {
JsonTypes::try_from_input_value(&map[key], field_type)
.map(|json_value| (key.to_owned(), json_value))
Expand Down Expand Up @@ -90,7 +90,7 @@ pub(super) fn input_value_from_json_type(
InputValue::Vec(array_elements)
}

(JsonTypes::Table(table), AbiType::Struct { fields }) => {
(JsonTypes::Table(table), AbiType::Struct { fields, .. }) => {
let native_table = try_btree_map(fields, |(field_name, abi_type)| {
// Check that json contains a value for each field of the struct.
let field_id = format!("{arg_name}.{field_name}");
Expand Down

0 comments on commit f261c73

Please sign in to comment.