From 6d6179fb2ca02a822165abccbcd3585f49ef2187 Mon Sep 17 00:00:00 2001 From: Greg Hysen Date: Fri, 13 Apr 2018 15:23:11 -0700 Subject: toUnsigned -> toBuffer in assetProxyUtils --- packages/contracts/src/utils/asset_proxy_utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/contracts/src') 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; } -- cgit