diff options
author | Greg Hysen <greg.hysen@gmail.com> | 2018-04-14 06:23:11 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-04-21 04:56:18 +0800 |
commit | 6d6179fb2ca02a822165abccbcd3585f49ef2187 (patch) | |
tree | 0ec6aae6f70aa0a59e8e10c87f1251d9ebe803de /packages/contracts | |
parent | 80d06d358a171daf7a260656c33d08fac1868382 (diff) | |
download | dexon-0x-contracts-6d6179fb2ca02a822165abccbcd3585f49ef2187.tar.gz dexon-0x-contracts-6d6179fb2ca02a822165abccbcd3585f49ef2187.tar.zst dexon-0x-contracts-6d6179fb2ca02a822165abccbcd3585f49ef2187.zip |
toUnsigned -> toBuffer in assetProxyUtils
Diffstat (limited to 'packages/contracts')
-rw-r--r-- | packages/contracts/src/utils/asset_proxy_utils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/contracts/src/utils/asset_proxy_utils.ts b/packages/contracts/src/utils/asset_proxy_utils.ts index 529d31cb9..8c14b2847 100644 --- a/packages/contracts/src/utils/asset_proxy_utils.ts +++ b/packages/contracts/src/utils/asset_proxy_utils.ts @@ -18,7 +18,7 @@ export function encodeAddress(address: string): Buffer { export function encodeUint256(value: BigNumber): Buffer { const formattedValue = new BN(value.toString(10)); - const encodedValue = ethUtil.toUnsigned(formattedValue); + const encodedValue = ethUtil.toBuffer(formattedValue); return encodedValue; } |