Skip to content

Commit

Permalink
Remove unnecessary try into
Browse files Browse the repository at this point in the history
  • Loading branch information
fmkra committed Feb 22, 2024
1 parent 559fe56 commit 7127ce1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/air/public_input.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ impl PublicInputImpl of PublicInputTrait {
Option::Some(continuous_page) => {
hash_data.append(*continuous_page.start_address);
hash_data.append(*continuous_page.size);
hash_data.append((*continuous_page.hash).try_into().unwrap()); // TODO: IMPORANT change hash to felt
hash_data.append(*continuous_page.hash);
},
Option::None => { break; }
}
Expand Down

0 comments on commit 7127ce1

Please sign in to comment.