Skip to content

Commit

Permalink
fix: resolve conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
richard-bachman committed Oct 23, 2023
2 parents a534392 + 66fc6ed commit 3d46c78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions launch
Submodule launch added at 838f59
3 changes: 1 addition & 2 deletions x/exchange/types/matching.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,7 @@ func (ctx *MatchingContext) FillOrders(orders []*MemOrder, qty sdk.Int, price sd
remainingQty := qty
for _, order := range orders {
executableQty := order.ExecutableQuantity()
if executableQty.IsZero() { // sanity check
// panic("executable quantity is zero")
if executableQty.IsZero() {
continue
}
executedQty := executableQty.Mul(qty).Quo(totalExecutableQty)
Expand Down

0 comments on commit 3d46c78

Please sign in to comment.