diff --git a/modules/cellframe-sdk/chain/src/wrapping_dap_chain_ledger.c b/modules/cellframe-sdk/chain/src/wrapping_dap_chain_ledger.c index 6984fc44f884309a2263198e1c5a1d6063a428fb..388ddb681c48195242783e586cba8c267c0b7115 100644 --- a/modules/cellframe-sdk/chain/src/wrapping_dap_chain_ledger.c +++ b/modules/cellframe-sdk/chain/src/wrapping_dap_chain_ledger.c @@ -54,7 +54,7 @@ PyObject *dap_chain_ledger_token_emission_add_py(PyObject *self, PyObject *args) size_t token_emissiom_size; if (!PyArg_ParseTuple(args, "O|n", &token_emission, &token_emissiom_size)) return NULL; - int res = dap_chain_ledger_token_emission_add(((PyDapChainLedgerObject*)self)->ledger, ((PyDapChainDatumTokenEmissionObject*)token_emission)->token_emission, token_emissiom_size); + int res = dap_chain_ledger_token_emission_add(((PyDapChainLedgerObject*)self)->ledger, (byte_t *)((PyDapChainDatumTokenEmissionObject*)token_emission)->token_emission, token_emissiom_size); return PyLong_FromLong(res); } PyObject *dap_chain_ledger_token_emission_find_py(PyObject *self, PyObject *args){