Skip to content

Commit 136b4d9

Browse files
committed
move state changes before settlement
1 parent c72dcbd commit 136b4d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contracts/HybridExchange.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,10 @@ contract HybridExchange is LibMath, LibOrder, LibRelayer, LibDiscount, LibExchan
157157
filled[makerOrderInfo.orderHash] = makerOrderInfo.filledAmount;
158158
}
159159

160-
settleResults(results, takerOrderParam, orderAddressSet);
161-
162160
// Update amount filled for this taker order.
163161
filled[takerOrderInfo.orderHash] = takerOrderInfo.filledAmount;
162+
163+
settleResults(results, takerOrderParam, orderAddressSet);
164164
}
165165

166166
/**

0 commit comments

Comments
 (0)