Commit db2e1d2c by Nicolás Venturo Committed by Francisco Giordano

Removed assertions from Escrow and SplitPayment. (#1349)

parent 396680b8
......@@ -39,7 +39,6 @@ contract Escrow is Secondary {
*/
function withdraw(address payee) public onlyPrimary {
uint256 payment = _deposits[payee];
assert(address(this).balance >= payment);
_deposits[payee] = 0;
......
......@@ -84,7 +84,6 @@ contract SplitPayment {
);
require(payment != 0);
assert(address(this).balance >= payment);
_released[account] = _released[account].add(payment);
_totalReleased = _totalReleased.add(payment);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment