Skip to content
Snippets Groups Projects
Commit 53386d6e authored by dmitriy.gerasimov's avatar dmitriy.gerasimov
Browse files

Merge branch 'features-2780' into 'master'

[*] Fix.

See merge request !9
parents af946d29 22125ee4
No related branches found
No related tags found
1 merge request!9[*] Fix.
......@@ -15,7 +15,8 @@ PyObject *dap_chain_find_by_id_py(PyObject *self, PyObject *args){
if (!PyArg_ParseTuple(args, "O|O", &obj_net_id, &obj_chain_id))
return NULL;
PyObject *new_obj = _PyObject_New(&dapChainObject_dapChainType);
((PyDapChainObject*)new_obj)->chain_t = dap_chain_find_by_id(((PyDapChainNetIdObject*)obj_net_id)->net_id, ((PyDapChainIDObject*)obj_chain_id)->chain_id);
((PyDapChainObject*)new_obj)->chain_t = dap_chain_find_by_id(((PyDapChainNetIdObject*)obj_net_id)->net_id,
*(((PyDapChainIDObject*)obj_chain_id)->chain_id));
return Py_BuildValue("O", &new_obj);
}
......
......@@ -18,7 +18,7 @@ PyObject *dap_chain_ledger_set_local_cell_id_py(PyObject *self, PyObject *args){
if (!PyArg_ParseTuple(args, "O", &obj_local_cell_id))
return NULL;
dap_chain_ledger_set_local_cell_id(((PyDapChainLedgerObject*)self)->ledger,
*(((PyDapChainCellIDObject*)obj_local_cell_id)->cell_id));
((PyDapChainCellIDObject*)obj_local_cell_id)->cell_id);
return PyLong_FromLong(0);
}
PyObject *dap_chain_node_datum_tx_calc_hash_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