Skip to content
Snippets Groups Projects
Commit c795767f authored by alexey.stratulat's avatar alexey.stratulat
Browse files

[*] Fix.

parent 8363465e
No related branches found
No related tags found
1 merge request!26Support 3689
......@@ -45,8 +45,9 @@ PyObject *dap_chain_net_sync_all_py(PyObject *self, PyObject *args){
}
PyObject *dap_chain_net_proc_datapool_py(PyObject *self, PyObject *args){
dap_chain_net_proc_datapool(((PyDapChainNetObject*)self)->chain_net);
return PyLong_FromLong(0);
//dap_chain_net_proc_datapool(((PyDapChainNetObject*)self)->chain_net);
//return PyLong_FromLong(0);
return NULL;
}
PyObject *dap_chain_net_by_name_py(PyObject *self, PyObject *args){
......@@ -98,7 +99,7 @@ PyObject *dap_chain_net_get_cur_addr_py(PyObject *self, PyObject *args){
}
PyObject *dap_chain_net_get_cur_cell_py(PyObject *self, PyObject *args){
PyObject *obj_cell_id = _PyObject_New(&DapChainNodeAddrObject_DapChainNodeAddrObjectType);
((PyDapChainCellIDObject*)obj_cell_id)->cell_id = dap_chain_net_get_cur_cell(((PyDapChainNetObject*)self)->chain_net);
((PyDapChainCellIDObject*)obj_cell_id)->cell_id = *(dap_chain_net_get_cur_cell(((PyDapChainNetObject*)self)->chain_net));
return Py_BuildValue("O", obj_cell_id);
}
PyObject *dap_chain_net_get_cur_addr_int_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