Fix revertReason

This commit is contained in:
Fabio Berger
2018-06-25 14:23:35 +02:00
parent 71bac8c60b
commit 71c9b98896

View File

@@ -142,7 +142,7 @@ export class OrderValidationUtils {
zrxAssetData: string,
): Promise<BigNumber> {
if (fillTakerAssetAmount.eq(0)) {
throw new Error(RevertReasons.TakerAssetFillAmount);
throw new Error(RevertReasons.InvalidTakerAmount);
}
const orderHash = orderHashUtils.getOrderHashHex(signedOrder);
const isValid = await isValidSignatureAsync(