Prettier fixes
This commit is contained in:
@@ -34,7 +34,13 @@ import {
|
||||
} from '@0x/order-utils';
|
||||
import { AssetProxyId, ExchangeContractErrs, OrderState, SignedOrder, Stats } from '@0x/types';
|
||||
import { errorUtils, intervalUtils, providerUtils } from '@0x/utils';
|
||||
import { BlockParamLiteral, LogEntryEvent, LogWithDecodedArgs, SupportedProvider, ZeroExProvider } from 'ethereum-types';
|
||||
import {
|
||||
BlockParamLiteral,
|
||||
LogEntryEvent,
|
||||
LogWithDecodedArgs,
|
||||
SupportedProvider,
|
||||
ZeroExProvider,
|
||||
} from 'ethereum-types';
|
||||
import * as _ from 'lodash';
|
||||
|
||||
import { orderWatcherPartialConfigSchema } from '../schemas/order_watcher_partial_config_schema';
|
||||
|
@@ -17,7 +17,12 @@ export const assert = {
|
||||
signature: string,
|
||||
signerAddress: string,
|
||||
): Promise<void> {
|
||||
const isValid = await signatureUtils.isValidSignatureAsync(supportedProvider, orderHash, signature, signerAddress);
|
||||
const isValid = await signatureUtils.isValidSignatureAsync(
|
||||
supportedProvider,
|
||||
orderHash,
|
||||
signature,
|
||||
signerAddress,
|
||||
);
|
||||
assert.assert(isValid, `Expected order with hash '${orderHash}' to have a valid signature`);
|
||||
},
|
||||
};
|
||||
|
Reference in New Issue
Block a user