diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-07-07 05:12:53 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-07-11 02:24:22 +0800 |
commit | 092ca6bcf5de2d94ff503f11233c87d428eedcb8 (patch) | |
tree | 892cc61220dd4bbc769ef0e43c034b9a780103b0 /packages/contracts/src/2.0.0/utils/LibBytes | |
parent | 2625cbbfed087dae55c62950a9260145cf5ca8e6 (diff) | |
download | dexon-sol-tools-092ca6bcf5de2d94ff503f11233c87d428eedcb8.tar.gz dexon-sol-tools-092ca6bcf5de2d94ff503f11233c87d428eedcb8.tar.zst dexon-sol-tools-092ca6bcf5de2d94ff503f11233c87d428eedcb8.zip |
Use 0.4.10 in AssetProxyOwner, add readBytes4 to contract and remove LibBytes
Diffstat (limited to 'packages/contracts/src/2.0.0/utils/LibBytes')
-rw-r--r-- | packages/contracts/src/2.0.0/utils/LibBytes/LibBytes.sol | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/contracts/src/2.0.0/utils/LibBytes/LibBytes.sol b/packages/contracts/src/2.0.0/utils/LibBytes/LibBytes.sol index 01d34fa8f..504e950a8 100644 --- a/packages/contracts/src/2.0.0/utils/LibBytes/LibBytes.sol +++ b/packages/contracts/src/2.0.0/utils/LibBytes/LibBytes.sol @@ -457,7 +457,8 @@ library LibBytes { /// @return bytes4 value from byte array. function readBytes4( bytes memory b, - uint256 index) + uint256 index + ) internal pure returns (bytes4 result) |