Skip to content

Commit

Permalink
Remove assertion of zero balance in case of unintended behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
drewstone committed Apr 4, 2019
1 parent d07c11a commit 51478f1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions contracts/Lockdrop.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 51478f1

Please sign in to comment.