Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
python-cellframe
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
6
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cellframe
python-cellframe
Commits
0ff4e664
Commit
0ff4e664
authored
8 months ago
by
Roman Khlopkov
🔜
Browse files
Options
Downloads
Patches
Plain Diff
[*] Chain address to string conversion fix
parent
4dcaa845
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cellframe-sdk
+1
-1
1 addition, 1 deletion
cellframe-sdk
modules/cellframe-sdk/common/src/wrapping_dap_chain_common.c
+2
-3
2 additions, 3 deletions
modules/cellframe-sdk/common/src/wrapping_dap_chain_common.c
with
3 additions
and
4 deletions
cellframe-sdk
@
55dcc5d6
Compare
80d33409
...
55dcc5d6
Subproject commit
80d3340956eb2a98895611f91502e7eb6896c674
Subproject commit
55dcc5d64f087b9bb6123ea32462e793e77d9a9f
This diff is collapsed.
Click to expand it.
modules/cellframe-sdk/common/src/wrapping_dap_chain_common.c
+
2
−
3
View file @
0ff4e664
...
...
@@ -92,9 +92,8 @@ PyObject *dap_chain_addr_to_str_py(PyObject *self, PyObject *args){
if
(
!
PyArg_ParseTuple
(
args
,
"O"
,
&
obj_chain_addr
))
return
NULL
;
const
dap_chain_addr_t
*
addr
=
((
PyDapChainAddrObject
*
)
obj_chain_addr
)
->
addr
;
const
char
*
res
=
dap_chain_addr_to_str
(
addr
);
const
char
*
res
=
dap_chain_addr_to_str
_static
(
addr
);
PyObject
*
l_obj_res
=
Py_BuildValue
(
"s"
,
res
);
DAP_DELETE
(
res
);
return
l_obj_res
;
}
...
...
@@ -155,7 +154,7 @@ PyObject *dap_chain_addr_check_sum_py(PyObject *self, PyObject *args){
}
PyObject
*
obj_addr_str
(
PyObject
*
self
){
const
char
*
l_addr
=
dap_chain_addr_to_str
(((
PyDapChainAddrObject
*
)
self
)
->
addr
);
const
char
*
l_addr
=
dap_chain_addr_to_str
_static
(((
PyDapChainAddrObject
*
)
self
)
->
addr
);
PyObject
*
l_obj_res
=
Py_BuildValue
(
"s"
,
l_addr
);
return
l_obj_res
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment