diff --git a/contracts/Oracle.sol b/contracts/Oracle.sol index 8f6fc8e..8882f25 100644 --- a/contracts/Oracle.sol +++ b/contracts/Oracle.sol @@ -33,7 +33,7 @@ contract Oracle is Authorizable { trustedServer = _trustedServer; } - function request(string memory _url) public onlyAuthorized() returns(bytes32 id) { + function request(string memory _url) public onlyAuthorized returns(bytes32 id) { id = keccak256(abi.encodePacked(_url, msg.sender, now)); pendingRequests[id].requestAddress = msg.sender; pendingRequests[id].validFrom = now; diff --git a/package-lock.json b/package-lock.json index 337f90b..df30037 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7810,8 +7810,7 @@ "integrity": "sha512-8p6ZLv+1JYa5Vs8oBn33Nn3VGFBbF+wVfO+b78RJS1Qf1uIOzjFVDk3XwYDD7rlz9G5BKpxhaQw+6EGQ7L02aw==", "requires": { "underscore": "1.8.3", - "web3-core-helpers": "1.0.0-beta.37", - "websocket": "git://github.com/frozeman/WebSocket-Node.git#6c72925e3f8aaaea8dc8450f97627e85263999f2" + "web3-core-helpers": "1.0.0-beta.37" }, "dependencies": { "debug": { @@ -7829,7 +7828,7 @@ }, "websocket": { "version": "git://github.com/frozeman/WebSocket-Node.git#6c72925e3f8aaaea8dc8450f97627e85263999f2", - "from": "git://github.com/frozeman/WebSocket-Node.git#browserifyCompatible", + "from": "git://github.com/frozeman/WebSocket-Node.git#6c72925e3f8aaaea8dc8450f97627e85263999f2", "requires": { "debug": "^2.2.0", "nan": "^2.3.3",