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
5a6d967c
Commit
5a6d967c
authored
6 months ago
by
Constantin P.
💬
Browse files
Options
Downloads
Plain Diff
Merge branch 'hotfix-13315' into 'master'
Hotfix 13315 See merge request
!410
parents
22a006fb
a5dc9541
Loading
Loading
1 merge request
!410
Hotfix 13315
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/cellframe-sdk/services/vote/src/wrapping_dap_chain_net_srv_vote_info.c
+3
-2
3 additions, 2 deletions
.../services/vote/src/wrapping_dap_chain_net_srv_vote_info.c
with
3 additions
and
2 deletions
modules/cellframe-sdk/services/vote/src/wrapping_dap_chain_net_srv_vote_info.c
+
3
−
2
View file @
5a6d967c
...
...
@@ -59,8 +59,9 @@ PyObject *wrapping_dap_chain_net_srv_vote_get_options(PyObject *self, void *clos
PyObject
*
wrapping_dap_chain_net_srv_vote_get_expire_datetime
(
PyObject
*
self
,
void
*
closure
)
{
(
void
)
closure
;
PyDateTime_IMPORT
;
uint64_t
l_ts_create
=
((
PyDapChainDatumObject
*
)
self
)
->
datum
->
header
.
ts_create
/
1000000000
;
PyObject
*
obj_ts_long
=
Py_BuildValue
(
"(k)"
,
l_ts_create
);
PyDapChainNetSrvVoteInfoObject
*
l_info
=
(
PyDapChainNetSrvVoteInfoObject
*
)
self
;
uint64_t
l_ts_expire
=
l_info
->
info
->
expired
;
PyObject
*
obj_ts_long
=
Py_BuildValue
(
"(k)"
,
l_ts_expire
);
PyObject
*
obj_ts
=
PyDateTime_FromTimestamp
(
obj_ts_long
);
return
obj_ts
;
}
...
...
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