Skip to content

Commit

Permalink
Merge pull request #149 from Bananapus/33audits/m10
Browse files Browse the repository at this point in the history
fix: 33Audits `[M-10]`
  • Loading branch information
mejango authored Jun 1, 2024
2 parents 5231d7d + 10a5496 commit aa4b86a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/JBMultiTerminal.sol
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@ contract JBMultiTerminal is JBPermissioned, ERC2771Context, IJBMultiTerminal {
}

// Set the allowance to `spend` tokens for the user.
PERMIT2.permit({
try PERMIT2.permit({
owner: _msgSender(),
permitSingle: IAllowanceTransfer.PermitSingle({
details: IAllowanceTransfer.PermitDetails({
Expand All @@ -864,7 +864,7 @@ contract JBMultiTerminal is JBPermissioned, ERC2771Context, IJBMultiTerminal {
sigDeadline: allowance.sigDeadline
}),
signature: allowance.signature
});
}) {} catch (bytes memory) {}
}

// Get a reference to the balance before receiving tokens.
Expand Down

0 comments on commit aa4b86a

Please sign in to comment.