diff options
Diffstat (limited to 'packages')
-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; } |