Skip to content
This repository has been archived by the owner on Mar 19, 2019. It is now read-only.

Commit

Permalink
Merge pull request #170 from Loopring/response-to-audit
Browse files Browse the repository at this point in the history
response to Berkeley audit
  • Loading branch information
kongliangzhong authored Nov 23, 2017
2 parents d9e8b6e + 9141d49 commit 888887e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 2 additions & 1 deletion contracts/RinghashRegistry.sol
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ contract RinghashRegistry {
bytes32[] rList,
bytes32[] sList
)
public
private
pure
returns (bytes32)
{
Expand Down Expand Up @@ -147,6 +147,7 @@ contract RinghashRegistry {
view
returns (bool)
{
require(ringminer != 0x0);
var submission = submissions[ringhash];
address miner = submission.ringminer;
return (
Expand Down
2 changes: 1 addition & 1 deletion contracts/TokenRegistry.sol
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ contract TokenRegistry is Claimable {

function getAddressBySymbol(string symbol)
external
constant
view
returns (address)
{
return tokenSymbolMap[symbol];
Expand Down
4 changes: 1 addition & 3 deletions contracts/TokenTransferDelegate.sol
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ contract TokenTransferDelegate is Claimable {
////////////////////////////////////////////////////////////////////////////

modifier onlyAuthorized() {
if (!isAddressAuthorized(msg.sender)) {
revert();
}
require(addressInfos[msg.sender].authorized);
_;
}

Expand Down

0 comments on commit 888887e

Please sign in to comment.