aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorRemco Bloemen <remco@wicked.ventures>2018-06-13 17:36:35 +0800
committerRemco Bloemen <remco@wicked.ventures>2018-06-23 19:53:38 +0800
commit20a07494f669e4d161db4906f1a104afb89fbbbf (patch)
tree21039f7b4540dd4535936b29f1aa56d403466ee2 /packages
parentc66477c69097b15b90d9474222e308baeaa929a6 (diff)
downloaddexon-0x-contracts-20a07494f669e4d161db4906f1a104afb89fbbbf.tar.gz
dexon-0x-contracts-20a07494f669e4d161db4906f1a104afb89fbbbf.tar.zst
dexon-0x-contracts-20a07494f669e4d161db4906f1a104afb89fbbbf.zip
Fix usage of `contentAddress()`
Diffstat (limited to 'packages')
-rw-r--r--packages/contracts/src/contracts/current/utils/LibBytes/LibBytes.sol4
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
);
}