diff --git a/contracts/lib/RLPReader.sol b/contracts/lib/RLPReader.sol index 70db5a5..a78bc84 100644 --- a/contracts/lib/RLPReader.sol +++ b/contracts/lib/RLPReader.sol @@ -211,7 +211,7 @@ library RLPReader { assembly { result := mload(memPtr) - // shift to the correct location if neccesary + // shift to the correct location if necessary if lt(len, 32) { result := div(result, exp(256, sub(32, len))) } diff --git a/contracts/light-client-others/bsc-tendermint/lib/proto/ProtoBufRuntime.sol b/contracts/light-client-others/bsc-tendermint/lib/proto/ProtoBufRuntime.sol index 89cb8a4..e620a49 100644 --- a/contracts/light-client-others/bsc-tendermint/lib/proto/ProtoBufRuntime.sol +++ b/contracts/light-client-others/bsc-tendermint/lib/proto/ProtoBufRuntime.sol @@ -1785,7 +1785,7 @@ library ProtoBufRuntime { /** * @dev Encode Solidity type - * @param x The unsinged integer to be encoded + * @param x The unsigned integer to be encoded * @param sz The number of bytes used to encode Solidity types * @param p The offset of bytes array `bs` * @param bs The bytes array to encode