Skip to content
Snippets Groups Projects
Commit b2f44102 authored by Roman Khlopkov's avatar Roman Khlopkov 🔜
Browse files

[+] New emission datum format

parent 11c06291
No related branches found
No related tags found
1 merge request!55bugs-5094
This commit is part of merge request !55. Comments created here will be created in the context of that merge request.
...@@ -54,7 +54,7 @@ PyObject *dap_chain_ledger_token_emission_add_py(PyObject *self, PyObject *args) ...@@ -54,7 +54,7 @@ PyObject *dap_chain_ledger_token_emission_add_py(PyObject *self, PyObject *args)
size_t token_emissiom_size; size_t token_emissiom_size;
if (!PyArg_ParseTuple(args, "O|n", &token_emission, &token_emissiom_size)) if (!PyArg_ParseTuple(args, "O|n", &token_emission, &token_emissiom_size))
return NULL; 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); return PyLong_FromLong(res);
} }
PyObject *dap_chain_ledger_token_emission_find_py(PyObject *self, PyObject *args){ PyObject *dap_chain_ledger_token_emission_find_py(PyObject *self, PyObject *args){
......
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