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

wrong uint of the description of the skipPermitAndThresholdAmount #187

Open
lyciumlee opened this issue Dec 19, 2023 · 0 comments
Open

wrong uint of the description of the skipPermitAndThresholdAmount #187

lyciumlee opened this issue Dec 19, 2023 · 0 comments

Comments

@lyciumlee
Copy link

the original text is

skipPermit is just 255'th byte of skipPermitAndThresholdAmount, when rest of bytes is thresholdAmount
See fillLimitOrder(), fillOrderToWithPermit() and packSkipPermitAndThresholdAmount() utils methods and helpers.

but I consider that the right texts are

skipPermit is just 255'th bit of skipPermitAndThresholdAmount, when rest of bytes is thresholdAmount
See fillLimitOrder(), fillOrderToWithPermit() and packSkipPermitAndThresholdAmount() utils methods and helpers.

convert the 'byte' to 'bit'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant