We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0042e16 + 828c29f commit 50e7856Copy full SHA for 50e7856
ledger/src/proofs/public_input/prepared_statement.rs
@@ -172,7 +172,7 @@ impl PreparedStatement {
172
uses_lookup.to_field_elements(&mut fields);
173
174
if uses_lookup {
175
- fields.push(lookup_value.unwrap());
+ fields.push(lookup_value.unwrap_or(Fq::zero()));
176
} else {
177
fields.push(Fq::zero());
178
}
tools/fuzzing/src/transaction_fuzzer/coverage/reports.rs
@@ -497,7 +497,7 @@ impl CoverageReport {
497
//println!("{:?}", source_range);
498
499
for line in start..=end {
500
- if line == lines.len() || lines[line].line.chars().count() == 0 {
+ if line >= lines.len() || lines[line].line.chars().count() == 0 {
501
continue;
502
503
0 commit comments