Skip to content

Commit

Permalink
Change match to if
Browse files Browse the repository at this point in the history
  • Loading branch information
gianbelinche committed Nov 15, 2024
1 parent f55a424 commit 6af58a5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions core/node/da_clients/src/eigen/sdk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,10 @@ impl RawEigenClient {
}

pub async fn dispatch_blob(&self, data: Vec<u8>) -> anyhow::Result<String> {
match self.config.authenticated {
true => self.dispatch_blob_authenticated(data).await,
false => self.dispatch_blob_non_authenticated(data).await,
if self.config.authenticated {
self.dispatch_blob_authenticated(data).await
} else {
self.dispatch_blob_non_authenticated(data).await
}
}

Expand Down

0 comments on commit 6af58a5

Please sign in to comment.