Unverified Commit 66c19689 by Nicolás Venturo Committed by GitHub

Changed SplitPayment require to assert. (#1188)

parent ac91af9a
......@@ -51,7 +51,7 @@ contract SplitPayment {
);
require(payment != 0);
require(address(this).balance >= payment);
assert(address(this).balance >= payment);
released[payee] = released[payee].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