Skip to content

Commit

Permalink
merged in tari-project#4307
Browse files Browse the repository at this point in the history
Signed-off-by: Andrei Gubarev <[email protected]>
  • Loading branch information
agubarev committed Jul 18, 2022
1 parent 86e11c5 commit d27e1b0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,7 @@ impl wallet_server::Wallet for WalletGrpcServer {
}))
}

#[allow(clippy::too_many_lines)]
async fn transfer(&self, request: Request<TransferRequest>) -> Result<Response<TransferResponse>, Status> {
let message = request.into_inner();
let recipients = message
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ impl SendTab {
f.render_stateful_widget(table, area, &mut self.table_state)
}

#[allow(clippy::too_many_lines)]
fn on_key_confirmation_dialog(&mut self, c: char, app_state: &mut AppState) -> KeyHandled {
if self.confirmation_dialog.is_some() {
if 'n' == c {
Expand Down Expand Up @@ -459,6 +460,7 @@ impl SendTab {
}

impl<B: Backend> Component<B> for SendTab {
#[allow(clippy::too_many_lines)]
fn draw(&mut self, f: &mut Frame<B>, area: Rect, app_state: &AppState) {
let areas = Layout::default()
.constraints(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ impl TransactionsTab {
column_list.render(f, area, &mut pending_list_state);
}

#[allow(clippy::too_many_lines)]
fn draw_completed_transactions<B>(&mut self, f: &mut Frame<B>, area: Rect, app_state: &AppState)
where B: Backend {
// Completed Transactions
Expand Down

0 comments on commit d27e1b0

Please sign in to comment.