Skip to content

Commit 03e0e86

Browse files
minor changes
1 parent 1fcb523 commit 03e0e86

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

common/src/allocations/monitor.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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)

common/src/attestations/signers.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)