Skip to content

Commit

Permalink
fix: address proof io
Browse files Browse the repository at this point in the history
  • Loading branch information
krigga committed Sep 26, 2023
1 parent 84ead5e commit f4c23a8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/handler/get_address_proof.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,13 @@

int handler_get_address_proof(uint8_t flags, buffer_t *cdata) {
explicit_bzero(&G_context, sizeof(G_context));
G_context.req_type = GET_PROOF;
G_context.state = STATE_NONE;

if (!deserialize_proof(cdata, flags)) {
return -1;
return 0;
}

G_context.req_type = GET_PROOF;
G_context.state = STATE_NONE;

return ui_display_proof(flags);
}

0 comments on commit f4c23a8

Please sign in to comment.