From 2c1ef481c06f745af70714106f97ae55df4f1655 Mon Sep 17 00:00:00 2001 From: TuDo1403 Date: Mon, 11 Dec 2023 11:35:11 +0700 Subject: [PATCH] chore: fix lib native transfer test --- test/transfers/LibNativeTransfer.t.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/transfers/LibNativeTransfer.t.sol b/test/transfers/LibNativeTransfer.t.sol index 0c70d35..5eddad0 100644 --- a/test/transfers/LibNativeTransfer.t.sol +++ b/test/transfers/LibNativeTransfer.t.sol @@ -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);