aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/blockchain.ts
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-09-05 02:55:42 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-09-05 02:55:42 +0800
commita173c5fc38f32a5c965cbd4cc7268294580a35f1 (patch)
treec4f0b7edf84992ad32d24af75c0de37c02c56772 /packages/website/ts/blockchain.ts
parentf5237f79716fb9ab5f16a64445fb21ea715d70b8 (diff)
parent1690f59857b14da5eccaaf6f9264b46aaddebe9e (diff)
downloaddexon-sol-tools-a173c5fc38f32a5c965cbd4cc7268294580a35f1.tar
dexon-sol-tools-a173c5fc38f32a5c965cbd4cc7268294580a35f1.tar.gz
dexon-sol-tools-a173c5fc38f32a5c965cbd4cc7268294580a35f1.tar.bz2
dexon-sol-tools-a173c5fc38f32a5c965cbd4cc7268294580a35f1.tar.lz
dexon-sol-tools-a173c5fc38f32a5c965cbd4cc7268294580a35f1.tar.xz
dexon-sol-tools-a173c5fc38f32a5c965cbd4cc7268294580a35f1.tar.zst
dexon-sol-tools-a173c5fc38f32a5c965cbd4cc7268294580a35f1.zip
Merge branch 'feature/website/update-portal-v2' of https://github.com/0xProject/0x-monorepo into feature/website/update-portal-v2
Diffstat (limited to 'packages/website/ts/blockchain.ts')
-rw-r--r--packages/website/ts/blockchain.ts12
1 files changed, 5 insertions, 7 deletions
diff --git a/packages/website/ts/blockchain.ts b/packages/website/ts/blockchain.ts
index 711185cb1..a976f915f 100644
--- a/packages/website/ts/blockchain.ts
+++ b/packages/website/ts/blockchain.ts
@@ -368,13 +368,11 @@ export class Blockchain {
fillTakerTokenAmount: BigNumber,
takerAddress: string,
): Promise<void> {
- // TODO: add validation here
- // we can use OrderValidationUtils here?
- // await this._contractWrappers.exchange.validateFillOrderThrowIfInvalidAsync(
- // signedOrder,
- // fillTakerTokenAmount,
- // takerAddress,
- // );
+ await this._contractWrappers.exchange.validateFillOrderThrowIfInvalidAsync(
+ signedOrder,
+ fillTakerTokenAmount,
+ takerAddress,
+ );
}
public isValidAddress(address: string): boolean {
const lowercaseAddress = address.toLowerCase();