Skip to content

Commit bcf6957

Browse files
committed
fix: indentation
1 parent 06885f3 commit bcf6957

File tree

1 file changed

+3
-16
lines changed

1 file changed

+3
-16
lines changed

packages/contracts/contracts/rewards/SubgraphAvailabilityManager.sol

+3-16
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,7 @@ contract SubgraphAvailabilityManager is Governed {
6868
* @param oracleIndex Index of the oracle voting
6969
* @param timestamp Timestamp of the vote
7070
*/
71-
event OracleVote(
72-
bytes32 indexed subgraphDeploymentID,
73-
bool deny,
74-
uint256 indexed oracleIndex,
75-
uint256 timestamp
76-
);
71+
event OracleVote(bytes32 indexed subgraphDeploymentID, bool deny, uint256 indexed oracleIndex, uint256 timestamp);
7772

7873
// -- Modifiers --
7974

@@ -155,11 +150,7 @@ contract SubgraphAvailabilityManager is Governed {
155150
* @param _deny True to deny, false to allow
156151
* @param _oracleIndex Index of the oracle voting
157152
*/
158-
function vote(
159-
bytes32 _subgraphDeploymentID,
160-
bool _deny,
161-
uint256 _oracleIndex
162-
) external onlyOracle(_oracleIndex) {
153+
function vote(bytes32 _subgraphDeploymentID, bool _deny, uint256 _oracleIndex) external onlyOracle(_oracleIndex) {
163154
_vote(_subgraphDeploymentID, _deny, _oracleIndex);
164155
}
165156

@@ -190,11 +181,7 @@ contract SubgraphAvailabilityManager is Governed {
190181
* @param _deny True to deny, false to allow
191182
* @param _oracleIndex Index of the oracle voting
192183
*/
193-
function _vote(
194-
bytes32 _subgraphDeploymentID,
195-
bool _deny,
196-
uint256 _oracleIndex
197-
) private {
184+
function _vote(bytes32 _subgraphDeploymentID, bool _deny, uint256 _oracleIndex) private {
198185
uint256 timestamp = block.timestamp;
199186

200187
if (_deny) {

0 commit comments

Comments
 (0)