Skip to content

Commit 7d8a6ad

Browse files
committed
fix: vps-01
1 parent 65cb255 commit 7d8a6ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contracts/PositionSwapper/WBNBSwapHelper.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ contract WBNBSwapHelper is Ownable2Step, ISwapHelper {
124124
WBNB.transfer(msg.sender, amount);
125125
emit SwappedToWBNB(amount);
126126
} else {
127-
IERC20Upgradeable(WBNB).transferFrom(msg.sender, address(this), amount);
127+
WBNB.transferFrom(msg.sender, address(this), amount);
128128
WBNB.withdraw(amount);
129129

130130
(bool success, ) = payable(msg.sender).call{ value: amount }("");

0 commit comments

Comments
 (0)