Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

fix: use correct jump dst label #74

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/tutorial/function-dispatching/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ For example:
dup1 __FUNC_SIG(returnTwo) eq returnTwoJump jumpi

// Macros
returnTwo:
returnTwoJump:
RETURN_TWO()
returnOne:
returnOneJump:
RETURN_ONE()
}
```
Expand All @@ -148,9 +148,9 @@ One way we can handle no valid function selector being found is by inserting `0x

0x00 0x00 revert

returnTwo:
returnTwoJump:
RETURN_TWO()
returnOne:
returnOneJump:
RETURN_ONE()
}
```
Expand Down