Skip to content
Snippets Groups Projects

hotfix-4954

Merged Roman Khlopkov requested to merge hotfix-4954 into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -195,7 +195,7 @@ PyObject *dap_chain_ledger_calc_balance_py(PyObject *self, PyObject *args){
@@ -195,7 +195,7 @@ PyObject *dap_chain_ledger_calc_balance_py(PyObject *self, PyObject *args){
((PyDapChainLedgerObject*)self)->ledger,
((PyDapChainLedgerObject*)self)->ledger,
((PyDapChainAddrObject*)addr)->addr, token_ticker);
((PyDapChainAddrObject*)addr)->addr, token_ticker);
uint64_t res = dap_chain_uint128_to(balance);
uint64_t res = dap_chain_uint128_to(balance);
char* coins = dap_chain_balance_to_coins(res);
char* coins = dap_chain_balance_to_coins(balance);
return Py_BuildValue("sk", coins, res);
return Py_BuildValue("sk", coins, res);
}
}
PyObject *dap_chain_ledger_calc_balance_full_py(PyObject *self, PyObject *args){
PyObject *dap_chain_ledger_calc_balance_full_py(PyObject *self, PyObject *args){
Loading