@0x/contracts-test-utils: Ran prettier.

This commit is contained in:
Lawrence Forman
2019-09-19 06:15:25 -04:00
committed by Lawrence Forman
parent d064543108
commit 2bb9b9a8f7
2 changed files with 2 additions and 11 deletions

View File

@@ -63,7 +63,7 @@ export function hexSlice(n: Numberish, start: number, end?: number): string {
*/
export function hexHash(n: Numberish): string {
return ethUtil.bufferToHex(ethUtil.sha3(ethUtil.toBuffer(toHex(n))));
}
}
/**
* Convert a string, a number, or a BigNumber into a hex string.

View File

@@ -28,16 +28,7 @@ export { bytes32Values, testCombinatoriallyWithReferenceFunc, uint256Values } fr
export { TransactionFactory } from './transaction_factory';
export { MutatorContractFunction, TransactionHelper } from './transaction_helper';
export { testWithReferenceFuncAsync } from './test_with_reference';
export {
hexConcat,
hexHash,
hexLeftPad,
hexInvert,
hexSlice,
hexRandom,
hexRightPad,
toHex,
} from './hex_utils';
export { hexConcat, hexHash, hexLeftPad, hexInvert, hexSlice, hexRandom, hexRightPad, toHex } from './hex_utils';
export {
BatchMatchOrder,
ContractName,