Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: typos in documentation files #439

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
4 changes: 2 additions & 2 deletions src/libraries/Descriptor.sol
Original file line number Diff line number Diff line change
Expand Up @@ -442,10 +442,10 @@ library Descriptor {
params.zerosStartIndex = 2; // leading zeros will start after the decimal point
params.zerosEndIndex = uint8(nZeros + params.zerosStartIndex - 1); // end index for leading zeros
params.bufferLength = uint8(nZeros + numSigfigs + 2); // total length of string buffer, including "0." and "%"
params.sigfigIndex = uint8(params.bufferLength - 2); // index of starting signficant figure
params.sigfigIndex = uint8(params.bufferLength - 2); // index of starting significant figure
params.isLessThanOne = true;
}
params.sigfigs = uint256(fee) / (10 ** (digits - numSigfigs)); // the signficant figures of the fee
params.sigfigs = uint256(fee) / (10 ** (digits - numSigfigs)); // the significant figures of the fee
params.isPercent = true;
params.decimalIndex = digits > 4 ? uint8(digits - 4) : 0; // based on total number of digits in the fee

Expand Down