We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2affdc2 commit 65739bcCopy full SHA for 65739bc
src_features/provide_tx_simulation/cmd_get_tx_simulation.h
@@ -32,8 +32,8 @@ typedef struct tx_simu_s {
32
uint64_t chain_id;
33
const char tx_hash[HASH_SIZE];
34
const char domain_hash[HASH_SIZE];
35
- const char provider_msg[MSG_SIZE];
36
- const char tiny_url[URL_SIZE];
+ const char provider_msg[MSG_SIZE + 1]; // +1 for the null terminator
+ const char tiny_url[URL_SIZE + 1]; // +1 for the null terminator
37
const char addr[ADDRESS_LENGTH];
38
const char partner[PARTNER_SIZE];
39
tx_simulation_score_t risk;
0 commit comments