Skip to content

Commit

Permalink
hotfix: of the hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
mortimr committed Oct 19, 2023
1 parent 03ae33a commit 22ae20b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/vExitQueue.mapping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,10 @@ export function handleReceivedCask(event: ReceivedCask): void {
fulfillableBy.push(caskId);
ticket.fulfillableBy = fulfillableBy;
ticket.fulfillableAmount = ticket.fulfillableAmount.plus(
minBI(cask.position.plus(cask.size).minus(ticket.position.plus(ticket.fulfillableAmount)), ticket.size)
minBI(
cask.position.plus(cask.size).minus(ticket.position.plus(ticket.fulfillableAmount)),
ticket.size.minus(ticket.fulfillableAmount)
)
);
ticket.save();
}
Expand Down

0 comments on commit 22ae20b

Please sign in to comment.