Skip to content

Commit

Permalink
Merge pull request #30 from axieinfinity/merge/release/v0.1.0-feature…
Browse files Browse the repository at this point in the history
…/math

chore(`math`): merge from `release/v0.1.0`
  • Loading branch information
TuDo1403 authored Dec 11, 2023
2 parents edab1dd + 57de895 commit 72649fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/transfers/LibNativeTransfer.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ contract LibNativeTransferTest is Test {
// Transferring to msg.sender can fail because it's possible to overflow their ETH balance as it begins non-zero.
if (recipient.code.length > 0 || uint256(uint160(recipient)) <= 18 || recipient == msg.sender) return;

amount = bound(amount, 0, address(this).balance);
amount = _bound(amount, 0, address(this).balance);
LibNativeTransfer.transfer(recipient, amount, gas);

assertEq(recipient.balance, amount);
Expand Down

0 comments on commit 72649fb

Please sign in to comment.