Skip to content

Commit 220dc78

Browse files
fix: resole incorrect Voucher check in estimateMatchOrders
1 parent 47ef1d7 commit 220dc78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/market/order.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,7 @@ export const estimateMatchOrders = async ({
822822
.label('voucherAddress')
823823
.validate(voucherAddress),
824824
]);
825-
if (!vUseVoucher) {
825+
if (vUseVoucher) {
826826
checkImplementedOnChain(contracts.chainId, CHAIN_SPECIFIC_FEATURES.VOUCHER);
827827
}
828828
const matchableVolume = await getMatchableVolume(

0 commit comments

Comments
 (0)