File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -99,9 +99,7 @@ impl StateManager for RewardsManagerContract {
99
99
let ids: Vec < [ u8 ; 32usize ] > = chunk. iter ( ) . map ( |s| s. 0 ) . collect ( ) ;
100
100
let statuses: Vec < bool > = chunk. iter ( ) . map ( |s| s. 1 ) . collect ( ) ;
101
101
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) ;
105
103
106
104
if let Err ( err) = tx. call ( ) . await {
107
105
let message = err. decode_revert :: < String > ( ) . unwrap_or ( err. to_string ( ) ) ;
@@ -127,9 +125,7 @@ impl StateManager for SubgraphAvailabilityManagerContract {
127
125
let statuses: Vec < bool > = chunk. iter ( ) . map ( |s| s. 1 ) . collect ( ) ;
128
126
let num_subgraphs = ids. len ( ) as u64 ;
129
127
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) ;
133
129
134
130
if let Err ( err) = tx. call ( ) . await {
135
131
let message = err. decode_revert :: < String > ( ) . unwrap_or ( err. to_string ( ) ) ;
You can’t perform that action at this time.
0 commit comments