Skip to content

Commit

Permalink
Fix critical typo in the crazy cj storage scanner.
Browse files Browse the repository at this point in the history
  • Loading branch information
saurik committed Jul 30, 2024
1 parent 54269d2 commit ae93241
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth-sender/source/scan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ task<void> Scan(const Brick<32> &root, Code_ &&code, Each_ &&each) {

const auto there(here + leg.hex(false).substr(2 - (type & 0x1)));
if ((type & 0x2) == 0) {
check = hash.substr(there.size()) != there ? EmptyVector : Brick<32>(proof[1].buf());
check = hash.substr(0, there.size()) != there ? EmptyVector : Brick<32>(proof[1].buf());
offset = there.size();
if (!done.contains(there))
todo.emplace(there);
Expand Down

0 comments on commit ae93241

Please sign in to comment.