Skip to content
Snippets Groups Projects
Commit a975acc1 authored by pavel.uhanov's avatar pavel.uhanov
Browse files

Merge branch 'backport-13637' of gitlab.demlabs.net:cellframe/cellframe-sdk into backport-13637

parents 9b1f9a24 cfd9c7be
No related branches found
No related tags found
1 merge request!2001backport-13637
Pipeline #49818 passed with stage
in 12 minutes and 36 seconds
......@@ -190,7 +190,7 @@ dap_chain_tx_out_cond_t *dap_chain_datum_tx_item_out_cond_create_srv_xchange(dap
const void *a_params, uint32_t a_params_size);
DAP_STATIC_INLINE uint32_t dap_chain_datum_tx_item_out_cond_create_srv_stake_get_tsd_size(bool a_sovereign_addr, uint32_t a_pkey_size) {
return a_sovereign_addr ? sizeof(dap_chain_addr_t) + sizeof(uint256_t) + 2 * sizeof(dap_tsd_t) : 0 + a_pkey_size ? a_pkey_size + sizeof(dap_tsd_t) : 0;
return (a_sovereign_addr ? sizeof(dap_chain_addr_t) + sizeof(uint256_t) + 2 * sizeof(dap_tsd_t) : 0) + (a_pkey_size ? a_pkey_size + sizeof(dap_tsd_t) : 0);
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment