Skip to content

Commit

Permalink
Merge pull request #197 from LedgerHQ/fbe/update_memo_field_for_lates…
Browse files Browse the repository at this point in the history
…t_thorswap_spec

Increase payin_extra_id size to 33 to allow thorswap hashed memo passing
  • Loading branch information
fbeutin-ledger authored Jun 20, 2024
2 parents f6ebd6d + 4102283 commit fa14364
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/proto/protocol.options
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ledger_swap.NewTransactionResponse.payin_address max_size:63;
ledger_swap.NewTransactionResponse.payin_extra_id max_size:20;
ledger_swap.NewTransactionResponse.payin_extra_id max_size:33;
ledger_swap.NewTransactionResponse.refund_address max_size:63;
ledger_swap.NewTransactionResponse.refund_extra_id max_size:20;
ledger_swap.NewTransactionResponse.payout_address max_size:63;
Expand Down
2 changes: 1 addition & 1 deletion src/proto/protocol.pb.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated nanopb constant definitions */
/* Generated by nanopb-0.3.9 at Mon Jul 31 14:13:55 2023. */
/* Generated by nanopb-0.3.9 at Thu Jun 20 13:57:59 2024. */

#include "protocol.pb.h"

Expand Down
6 changes: 3 additions & 3 deletions src/proto/protocol.pb.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Automatically generated nanopb header */
/* Generated by nanopb-0.3.9 at Mon Jul 31 14:13:55 2023. */
/* Generated by nanopb-0.3.9 at Thu Jun 20 13:57:59 2024. */

#ifndef PB_LEDGER_SWAP_PROTOCOL_PB_H_INCLUDED
#define PB_LEDGER_SWAP_PROTOCOL_PB_H_INCLUDED
Expand Down Expand Up @@ -32,7 +32,7 @@ typedef PB_BYTES_ARRAY_T(16) ledger_swap_NewTransactionResponse_amount_to_wallet
typedef PB_BYTES_ARRAY_T(32) ledger_swap_NewTransactionResponse_device_transaction_id_ng_t;
typedef struct _ledger_swap_NewTransactionResponse {
char payin_address[63];
char payin_extra_id[20];
char payin_extra_id[33];
char refund_address[63];
char refund_extra_id[20];
char payout_address[63];
Expand Down Expand Up @@ -114,7 +114,7 @@ extern const pb_field_t ledger_swap_NewSellResponse_fields[8];
extern const pb_field_t ledger_swap_NewFundResponse_fields[7];

/* Maximum encoded size of messages (where known) */
#define ledger_swap_NewTransactionResponse_size 368
#define ledger_swap_NewTransactionResponse_size 381
#define ledger_swap_UDecimal_size 24
#define ledger_swap_NewSellResponse_size 219
#define ledger_swap_NewFundResponse_size 233
Expand Down

0 comments on commit fa14364

Please sign in to comment.