From 51478f191d36c6c429686594935b317a3f5a238d Mon Sep 17 00:00:00 2001 From: Drew Stone Date: Thu, 4 Apr 2019 20:56:17 +0300 Subject: [PATCH] Remove assertion of zero balance in case of unintended behavior --- contracts/Lockdrop.sol | 2 -- 1 file changed, 2 deletions(-) diff --git a/contracts/Lockdrop.sol b/contracts/Lockdrop.sol index 2ecf06f..551cc0b 100644 --- a/contracts/Lockdrop.sol +++ b/contracts/Lockdrop.sol @@ -65,8 +65,6 @@ contract Lockdrop { Lock lockAddr = (new Lock).value(eth)(owner, unlockTime); // ensure lock contract has all ETH, or fail assert(address(lockAddr).balance == msg.value); - // ensure contract has no ETH, or fail - assert(address(this).balance == 0); emit Locked(owner, eth, lockAddr, term, edgewareKey, isValidator); }