Skip to content

Commit

Permalink
🥢 Fix typos in ERC1271 and LibPRNG contracts (#970)
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkopezo authored Jun 23, 2024
1 parent dd9ba6e commit dad33fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/accounts/ERC1271.sol
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ abstract contract ERC1271 is EIP712 {
/// Of course, if you have control over the codebase of the wallet client(s) too,
/// you can choose a more minimalistic signature scheme like
/// `keccak256(abi.encode(address(this), hash))` instead of all these acrobatics.
/// All these are just for widespead out-of-the-box compatibility with other wallet clients.
/// All these are just for widespread out-of-the-box compatibility with other wallet clients.
/// We want to create bazaars, not walled castles.
/// And we'll use push the Turing Completeness of the EVM to the limits to do so.
function _erc1271IsValidSignatureViaNestedEIP712(bytes32 hash, bytes calldata signature)
Expand Down
2 changes: 1 addition & 1 deletion src/utils/LibPRNG.sol
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ library LibPRNG {
/// If your modulus is big, this method is recommended
/// for uniform sampling to avoid modulo bias.
/// For uniform sampling across all uint256 values,
/// or for small enough moduli such that the bias is neligible,
/// or for small enough moduli such that the bias is negligible,
/// use {next} instead.
function uniform(PRNG memory prng, uint256 upper) internal pure returns (uint256 result) {
/// @solidity memory-safe-assembly
Expand Down

0 comments on commit dad33fc

Please sign in to comment.