Skip to content

Commit

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

chore(`lib-error-handler`): merge from `release/v0.1.0`
  • Loading branch information
TuDo1403 authored Dec 11, 2023
2 parents 3eb5620 + 57de895 commit df71cc1
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 df71cc1

Please sign in to comment.