Skip to content

Commit

Permalink
Fix 1
Browse files Browse the repository at this point in the history
  • Loading branch information
aandrukhovich committed Aug 17, 2023
1 parent dce16e0 commit ef7c535
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions contracts/1.fc
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@

;; testable
(cell) find_branch_by_hash(int hash, cell tree) method_id {
if (cell_hash(tree) == hash) {
return tree;
}
slice s = tree.begin_parse();
while (s.slice_refs_empty?() != -1) { ;; we should remind that -1 is true
if (cell_hash(tree) == hash) {
Expand Down

0 comments on commit ef7c535

Please sign in to comment.