diff --git a/contracts/BC_fusion/lib/RLPDecode.sol b/contracts/BC_fusion/lib/RLPDecode.sol index 6b250f63..49718255 100644 --- a/contracts/BC_fusion/lib/RLPDecode.sol +++ b/contracts/BC_fusion/lib/RLPDecode.sol @@ -144,7 +144,7 @@ library RLPDecode { assembly { result := mload(memPtr) - // shfit 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/lib/RLPDecode.sol b/contracts/lib/RLPDecode.sol index acbf519b..3db833ab 100644 --- a/contracts/lib/RLPDecode.sol +++ b/contracts/lib/RLPDecode.sol @@ -136,7 +136,7 @@ library RLPDecode { assembly { result := mload(memPtr) - // shfit 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/test/utils/RLPDecode.sol b/test/utils/RLPDecode.sol index 78db9f49..7baf1b79 100644 --- a/test/utils/RLPDecode.sol +++ b/test/utils/RLPDecode.sol @@ -136,7 +136,7 @@ library RLPDecode { assembly { result := mload(memPtr) - // shfit 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))) } }