Skip to content

Commit

Permalink
Remove reundant header relay call
Browse files Browse the repository at this point in the history
  • Loading branch information
mappum committed Feb 15, 2024
1 parent fa72f8e commit 82b6bb1
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/bitcoin/relayer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -962,12 +962,6 @@ impl Relayer {
batch[0].height(),
batch.len(),
);
app_client(&self.app_client_addr)
.call(
|app| build_call!(app.bitcoin.headers.add(batch.clone().into_iter().collect())),
|app| build_call!(app.app_noop()),
)
.await?;
let res = app_client(&self.app_client_addr)
.call(
move |app| build_call!(app.bitcoin.headers.add(batch.clone().into())),
Expand Down

0 comments on commit 82b6bb1

Please sign in to comment.