Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase payin_extra_id size to 33 to allow thorswap hashed memo passing #197

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading