diff options
author | Remco Bloemen <remco@wicked.ventures> | 2018-06-13 17:36:35 +0800 |
---|---|---|
committer | Remco Bloemen <remco@wicked.ventures> | 2018-06-23 19:53:38 +0800 |
commit | 20a07494f669e4d161db4906f1a104afb89fbbbf (patch) | |
tree | 21039f7b4540dd4535936b29f1aa56d403466ee2 /packages/contracts/src | |
parent | c66477c69097b15b90d9474222e308baeaa929a6 (diff) | |
download | dexon-sol-tools-20a07494f669e4d161db4906f1a104afb89fbbbf.tar.gz dexon-sol-tools-20a07494f669e4d161db4906f1a104afb89fbbbf.tar.zst dexon-sol-tools-20a07494f669e4d161db4906f1a104afb89fbbbf.zip |
Fix usage of `contentAddress()`
Diffstat (limited to 'packages/contracts/src')
-rw-r--r-- | packages/contracts/src/contracts/current/utils/LibBytes/LibBytes.sol | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/contracts/src/contracts/current/utils/LibBytes/LibBytes.sol b/packages/contracts/src/contracts/current/utils/LibBytes/LibBytes.sol index 4a1397470..a5ef3b5aa 100644 --- a/packages/contracts/src/contracts/current/utils/LibBytes/LibBytes.sol +++ b/packages/contracts/src/contracts/current/utils/LibBytes/LibBytes.sol @@ -571,8 +571,8 @@ library LibBytes { GREATER_OR_EQUAL_TO_SOURCE_BYTES_LENGTH_REQUIRED ); memCopy( - getMemAddress(dest) + 32, // +32 to skip length of <dest> - getMemAddress(source) + 32, // +32 to skip length of <source> + dest.contentAddress(), + source.contentAddress(), sourceLen ); } |