File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -76,8 +76,7 @@ pub fn indexer_allocations(
7676 indexer_address,
7777 recently_closed_allocation_buffer,
7878 )
79- . await
80- . map_err ( |e| e. to_string ( ) ) ;
79+ . await ;
8180 match result {
8281 Ok ( allocations) => {
8382 tx. send ( allocations)
Original file line number Diff line number Diff line change @@ -116,13 +116,13 @@ mod tests {
116116
117117 #[ tokio:: test]
118118 async fn test_attestation_signers_update_with_allocations ( ) {
119- let ( allocations_tx, allcoations_rx ) = watch:: channel ( HashMap :: new ( ) ) ;
119+ let ( allocations_tx, allocations_rx ) = watch:: channel ( HashMap :: new ( ) ) ;
120120 let ( dispute_manager_tx, dispute_manager_rx) = watch:: channel ( None ) ;
121121 dispute_manager_tx
122122 . send ( Some ( * DISPUTE_MANAGER_ADDRESS ) )
123123 . unwrap ( ) ;
124124 let mut signers = attestation_signers (
125- allcoations_rx ,
125+ allocations_rx ,
126126 ( * INDEXER_OPERATOR_MNEMONIC ) . to_string ( ) ,
127127 1 ,
128128 dispute_manager_rx,
You can’t perform that action at this time.
0 commit comments