Removed assertions from Escrow and SplitPayment. (#1349)

(cherry picked from commit db2e1d2c74)
This commit is contained in:
Nicolás Venturo
2018-09-26 12:57:02 -03:00
committed by Francisco Giordano
parent c9e8a66e85
commit 652243b7c3
2 changed files with 0 additions and 2 deletions

View File

@ -40,7 +40,6 @@ contract Escrow is Secondary {
*/
function withdraw(address payee) public onlyPrimary {
uint256 payment = _deposits[payee];
assert(address(this).balance >= payment);
_deposits[payee] = 0;

View File

@ -85,7 +85,6 @@ contract SplitPayment {
);
require(payment != 0);
assert(address(this).balance >= payment);
_released[account] = _released[account].add(payment);
_totalReleased = _totalReleased.add(payment);