aboutsummaryrefslogtreecommitdiffstats
path: root/packages/asset-buyer/src/utils/assert.ts
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-09-21 22:53:18 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-09-21 22:53:18 +0800
commit5e84e9689f0899a39dbfaffe13b80fa07fec5ba8 (patch)
tree570118a6ff871339aec8006e03f47bbab88fe9d4 /packages/asset-buyer/src/utils/assert.ts
parent1bfaefb240d08eb0a8a5d6743d529604383f6e43 (diff)
downloaddexon-sol-tools-5e84e9689f0899a39dbfaffe13b80fa07fec5ba8.tar.gz
dexon-sol-tools-5e84e9689f0899a39dbfaffe13b80fa07fec5ba8.tar.zst
dexon-sol-tools-5e84e9689f0899a39dbfaffe13b80fa07fec5ba8.zip
Small typos
Diffstat (limited to 'packages/asset-buyer/src/utils/assert.ts')
-rw-r--r--packages/asset-buyer/src/utils/assert.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/asset-buyer/src/utils/assert.ts b/packages/asset-buyer/src/utils/assert.ts
index 2c3426894..04f425237 100644
--- a/packages/asset-buyer/src/utils/assert.ts
+++ b/packages/asset-buyer/src/utils/assert.ts
@@ -19,7 +19,7 @@ export const assert = {
}
},
isValidOrderProvider(variableName: string, orderFetcher: OrderProvider): void {
- sharedAssert.isFunction(`${variableName}.fetchOrdersAsync`, orderFetcher.getOrdersAsync);
+ sharedAssert.isFunction(`${variableName}.getOrdersAsync`, orderFetcher.getOrdersAsync);
},
isValidOrderProviderRequest(variableName: string, orderFetcherRequest: OrderProviderRequest): void {
sharedAssert.isHexString(`${variableName}.makerAssetData`, orderFetcherRequest.makerAssetData);