Skip to content
This repository was archived by the owner on Dec 31, 2024. It is now read-only.

Commit da91941

Browse files
committedFeb 5, 2019
fix compiler warning
1 parent b45bef7 commit da91941

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎contracts/LiquidPledging.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ contract LiquidPledging is LiquidPledgingBase {
8181
require(sender.adminType == PledgeAdminType.Giver);
8282

8383
if (token == ETH) {
84-
vault.transfer(amount);
84+
address(vault).transfer(amount);
8585
} else {
8686
require(ERC20(token).transferFrom(msg.sender, address(vault), amount)); // transfer the token to the `vault`
8787
}

0 commit comments

Comments
 (0)
This repository has been archived.