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 ec5c79a commit 4e58607
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/commands/signtx/operations/stx_op_p2pk.c
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,8 @@ bool stx_operation_p2pk_should_show_output_confirm_screen(
if (stx_bip32_path_is_equal(&ctx->transaction.ui.output.bip32_path,
&ctx->transaction.last_approved_change))
return false;
// if account is the same and change index is < current + 20 then we approve it automatically
// if account is the same and change index is < current + 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[3] == ctx->bip32.path[3] &&
ctx->transaction.ui.output.bip32_path.path[4] < ctx->bip32.path[4] + 20)
Expand Down

0 comments on commit 4e58607

Please sign in to comment.