Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
openzeppelin-contracts-upgradeable
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
俞永鹏
openzeppelin-contracts-upgradeable
Commits
652243b7
Commit
652243b7
authored
Sep 26, 2018
by
Nicolás Venturo
Committed by
Francisco Giordano
Sep 26, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed assertions from Escrow and SplitPayment. (#1349)
(cherry picked from commit
db2e1d2c
)
parent
c9e8a66e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
2 deletions
+0
-2
Escrow.sol
contracts/payment/Escrow.sol
+0
-1
SplitPayment.sol
contracts/payment/SplitPayment.sol
+0
-1
No files found.
contracts/payment/Escrow.sol
View file @
652243b7
...
...
@@ -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;
...
...
contracts/payment/SplitPayment.sol
View file @
652243b7
...
...
@@ -85,7 +85,6 @@ contract SplitPayment {
);
require(payment != 0);
assert(address(this).balance >= payment);
_released[account] = _released[account].add(payment);
_totalReleased = _totalReleased.add(payment);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment