diff --git a/modules/cellframe-sdk/common/src/wrapping_dap_chain_common.c b/modules/cellframe-sdk/common/src/wrapping_dap_chain_common.c index 1ebdc0ce0a6cfb7775da4d22f9cf4b69effbc436..6aaec83d0fed731a2aa9b99c6273e93d5e74c641 100644 --- a/modules/cellframe-sdk/common/src/wrapping_dap_chain_common.c +++ b/modules/cellframe-sdk/common/src/wrapping_dap_chain_common.c @@ -83,6 +83,6 @@ PyObject * dap_chain_balance_to_coins_py(PyObject *self, PyObject *args){ if (!PyArg_ParseTuple(args, "k", &balance)){ return NULL; } - const char *str = dap_chain_balance_to_coins(dap_chain_uint128_to(balance)); + const char *str = dap_chain_balance_to_coins(dap_chain_uint128_from(balance)); return Py_BuildValue("s", str); }