Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cellframe-sdk
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
20
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
cellframe-sdk
Commits
9636b814
Commit
9636b814
authored
3 months ago
by
Constantin P.
💬
Browse files
Options
Downloads
Plain Diff
Merge branch 'hotfix-14909' into 'master'
hotfix-14909 See merge request
!2005
parents
557447b6
6db4a938
No related branches found
No related tags found
1 merge request
!2005
hotfix-14909
Pipeline
#49362
passed with stage
in 11 minutes and 17 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dap-sdk
+1
-1
1 addition, 1 deletion
dap-sdk
modules/wallet/dap_chain_wallet_cache.c
+4
-2
4 additions, 2 deletions
modules/wallet/dap_chain_wallet_cache.c
with
5 additions
and
3 deletions
dap-sdk
@
d6b69346
Compare
9a18977e
...
d6b69346
Subproject commit
9a18977ec883160e4579162170047d6ce391add1
Subproject commit
d6b6934683168160e7d25647ceef59d9439de2c3
This diff is collapsed.
Click to expand it.
modules/wallet/dap_chain_wallet_cache.c
+
4
−
2
View file @
9636b814
...
@@ -693,7 +693,8 @@ static int s_save_tx_into_wallet_cache(dap_chain_t *a_chain, dap_chain_datum_tx_
...
@@ -693,7 +693,8 @@ static int s_save_tx_into_wallet_cache(dap_chain_t *a_chain, dap_chain_datum_tx_
int
l_prev_idx
=
((
dap_chain_tx_in_t
*
)
it
->
data
)
->
header
.
tx_out_prev_idx
;
int
l_prev_idx
=
((
dap_chain_tx_in_t
*
)
it
->
data
)
->
header
.
tx_out_prev_idx
;
if
(
dap_hash_fast_is_blank
(
&
l_prev_tx_hash
))
if
(
dap_hash_fast_is_blank
(
&
l_prev_tx_hash
))
continue
;
continue
;
dap_chain_datum_tx_t
*
l_tx_prev
=
(
dap_chain_datum_tx_t
*
)(
a_chain
->
callback_datum_find_by_hash
(
a_chain
,
&
l_prev_tx_hash
,
NULL
,
NULL
)
->
data
);
dap_chain_datum_t
*
l_prev_datum
=
a_chain
->
callback_datum_find_by_hash
(
a_chain
,
&
l_prev_tx_hash
,
NULL
,
NULL
);
dap_chain_datum_tx_t
*
l_tx_prev
=
l_prev_datum
?
(
dap_chain_datum_tx_t
*
)(
l_prev_datum
->
data
)
:
NULL
;
if
(
!
l_tx_prev
)
if
(
!
l_tx_prev
)
continue
;
continue
;
uint8_t
*
l_prev_item
=
dap_chain_datum_tx_item_get_nth
(
l_tx_prev
,
TX_ITEM_TYPE_OUT
,
l_prev_idx
);
uint8_t
*
l_prev_item
=
dap_chain_datum_tx_item_get_nth
(
l_tx_prev
,
TX_ITEM_TYPE_OUT
,
l_prev_idx
);
...
@@ -935,7 +936,8 @@ static int s_save_tx_cache_for_addr(dap_chain_t *a_chain, dap_chain_addr_t *a_ad
...
@@ -935,7 +936,8 @@ static int s_save_tx_cache_for_addr(dap_chain_t *a_chain, dap_chain_addr_t *a_ad
int
l_prev_idx
=
((
dap_chain_tx_in_t
*
)
l_tx_item
)
->
header
.
tx_out_prev_idx
;
int
l_prev_idx
=
((
dap_chain_tx_in_t
*
)
l_tx_item
)
->
header
.
tx_out_prev_idx
;
if
(
dap_hash_fast_is_blank
(
&
l_prev_tx_hash
))
if
(
dap_hash_fast_is_blank
(
&
l_prev_tx_hash
))
continue
;
continue
;
dap_chain_datum_tx_t
*
l_tx_prev
=
(
dap_chain_datum_tx_t
*
)(
a_chain
->
callback_datum_find_by_hash
(
a_chain
,
&
l_prev_tx_hash
,
NULL
,
NULL
)
->
data
);
dap_chain_datum_t
*
l_prev_datum
=
a_chain
->
callback_datum_find_by_hash
(
a_chain
,
&
l_prev_tx_hash
,
NULL
,
NULL
);
dap_chain_datum_tx_t
*
l_tx_prev
=
l_prev_datum
?
(
dap_chain_datum_tx_t
*
)(
l_prev_datum
->
data
)
:
NULL
;
if
(
!
l_tx_prev
)
if
(
!
l_tx_prev
)
continue
;
continue
;
uint8_t
*
l_prev_item
=
dap_chain_datum_tx_item_get_nth
(
l_tx_prev
,
TX_ITEM_TYPE_OUT
,
l_prev_idx
);
uint8_t
*
l_prev_item
=
dap_chain_datum_tx_item_get_nth
(
l_tx_prev
,
TX_ITEM_TYPE_OUT
,
l_prev_idx
);
...
...
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