Skip to content

Commit

Permalink
fix: clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroqn committed Jul 25, 2022
1 parent 884faec commit 726c62c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/rpc-server/src/registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1283,6 +1283,7 @@ async fn submit_withdrawal_request(
}

// TODO: remove code after remove withdrawal cell
#[allow(clippy::type_complexity)]
#[instrument(skip_all)]
async fn inner_submit_withdrawal_request(
Params((withdrawal_request,)): Params<(JsonBytes,)>,
Expand Down Expand Up @@ -1941,6 +1942,7 @@ async fn get_mem_pool_state_ready(
}

// TODO: remove code after remove withdrawal cell
#[allow(clippy::type_complexity)]
#[instrument(skip_all)]
async fn test_submit_withdrawal_request_finalized_custodian_unchecked(
Params((withdrawal_request,)): Params<(JsonBytes,)>,
Expand Down

0 comments on commit 726c62c

Please sign in to comment.