Skip to content

Commit

Permalink
πŸ› Fix swap verify identity
Browse files Browse the repository at this point in the history
  • Loading branch information
BertrandD committed Jan 21, 2025
1 parent 67c900d commit cc3db02
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -337,8 +337,7 @@ async fn do_swap(
let mut app = ctx.app.lock_owned().await;
let mut transaction = ProvableBlobTx::new(identity);

app.register_identity(&mut transaction, password)?;

app.verify_identity(&mut transaction, password)?;
app.swap(&mut transaction, token_a, token_b, amount).await?;

app.send(transaction).await
Expand Down

0 comments on commit cc3db02

Please sign in to comment.