Skip to content

Commit

Permalink
linter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ypopovych committed May 30, 2024
1 parent 6c0508c commit 1c33eb0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/commands/signtx/operations/stx_op_p2pk.c
Original file line number Diff line number Diff line change
Expand Up @@ -311,11 +311,9 @@ bool stx_operation_p2pk_should_show_output_confirm_screen(
&ctx->transaction.last_approved_change))
return false;
// if account is the same and change index is < 20 then we approve it automatically
if (stx_bip32_path_same_account(&ctx->transaction.ui.output.bip32_path,
&ctx->bip32) &&
ctx->transaction.ui.output.bip32_path.path[4] < 20)
if (stx_bip32_path_same_account(&ctx->transaction.ui.output.bip32_path, &ctx->bip32) &&
ctx->transaction.ui.output.bip32_path.path[4] < 20)
return false;

}
return true;
}
Expand Down

0 comments on commit 1c33eb0

Please sign in to comment.