toUnsigned -> toBuffer in assetProxyUtils

This commit is contained in:
Greg Hysen
2018-04-13 15:23:11 -07:00
committed by Amir Bandeali
parent 80d06d358a
commit 6d6179fb2c

View File

@@ -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;
}