Skip to content

Commit fd5b5d8

Browse files
committed
fix: fmt errors
1 parent 2d93acc commit fd5b5d8

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

availability-oracle/src/contract.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,7 @@ impl StateManager for RewardsManagerContract {
9999
let ids: Vec<[u8; 32usize]> = chunk.iter().map(|s| s.0).collect();
100100
let statuses: Vec<bool> = chunk.iter().map(|s| s.1).collect();
101101
let num_subgraphs = ids.len() as u64;
102-
let tx = self
103-
.contract
104-
.set_denied_many(ids, statuses);
102+
let tx = self.contract.set_denied_many(ids, statuses);
105103

106104
if let Err(err) = tx.call().await {
107105
let message = err.decode_revert::<String>().unwrap_or(err.to_string());
@@ -127,9 +125,7 @@ impl StateManager for SubgraphAvailabilityManagerContract {
127125
let statuses: Vec<bool> = chunk.iter().map(|s| s.1).collect();
128126
let num_subgraphs = ids.len() as u64;
129127
let oracle_index = U256::from(self.oracle_index);
130-
let tx = self
131-
.contract
132-
.vote_many(ids, statuses, oracle_index);
128+
let tx = self.contract.vote_many(ids, statuses, oracle_index);
133129

134130
if let Err(err) = tx.call().await {
135131
let message = err.decode_revert::<String>().unwrap_or(err.to_string());

0 commit comments

Comments
 (0)