Skip to content

Commit

Permalink
Make send and transfer work across proxies
Browse files Browse the repository at this point in the history
Address issue 275 PR comments.
  • Loading branch information
ßingen committed Apr 3, 2018
1 parent 13994ee commit e408a7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/common/FundsProxy.sol
Expand Up @@ -22,7 +22,7 @@ contract FundsProxy is DelegateProxy, ERCProxy {
require(isContract(vault));

if (_token == ETH) {
vault.transfer(address(this).balance);
require(vault.call.value(address(this).balance)());
} else {
uint256 amount = ERC20(_token).balanceOf(this);
ERC20(_token).transfer(vault, amount);
Expand Down

0 comments on commit e408a7b

Please sign in to comment.