Skip to content

Commit

Permalink
return_unless not work
Browse files Browse the repository at this point in the history
  • Loading branch information
rise1507 committed Jun 26, 2024
1 parent 39d0feb commit 444ddde
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion contracts/wallet_v5.fc
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,9 @@ cell verify_c5_actions(cell c5, int is_external) inline {
} else {
throw(error::unspported_action);
}
return_unless(cs.slice_refs());
ifnot (cs.slice_refs()) {
return ();
}
cs = cs.preload_ref().begin_parse();
}
}
Expand Down

0 comments on commit 444ddde

Please sign in to comment.