Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libdap-chain-net
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
cellframe
libdap-chain-net
Commits
5c3a65f0
Commit
5c3a65f0
authored
5 years ago
by
alexander.lysikov
Browse files
Options
Downloads
Patches
Plain Diff
fixed crash of 'tx_history -addr' command
parent
1744a0b9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
3 merge requests
!14
Master
,
!12
Master
,
!11
fixed crash of 'tx_history -addr' command
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dap_chain_node_cli.c
+1
-1
1 addition, 1 deletion
dap_chain_node_cli.c
dap_chain_node_cli_cmd_tx.c
+1
-1
1 addition, 1 deletion
dap_chain_node_cli_cmd_tx.c
with
2 additions
and
2 deletions
dap_chain_node_cli.c
+
1
−
1
View file @
5c3a65f0
...
...
@@ -837,7 +837,7 @@ int dap_chain_node_cli_init(dap_config_t * g_config)
// Transaction history
dap_chain_node_cli_cmd_item_create
(
"tx_history"
,
com_tx_history
,
"Transaction history (for address or by hash)"
,
"tx_history [-addr <addr> | -w <wallet name> -tx <tx_hash>] -net <net name> -chain <chain name>
\n
"
);
"tx_history [-addr <addr> | -w <wallet name>
|
-tx <tx_hash>] -net <net name> -chain <chain name>
\n
"
);
// Log
dap_chain_node_cli_cmd_item_create
(
"print_log"
,
com_print_log
,
"Print log info"
,
"print_log [ts_after <timestamp >] [limit <line numbers>]
\n
"
);
...
...
This diff is collapsed.
Click to expand it.
dap_chain_node_cli_cmd_tx.c
+
1
−
1
View file @
5c3a65f0
...
...
@@ -595,7 +595,7 @@ char* dap_db_history_addr(dap_chain_addr_t * a_addr, dap_chain_t * a_chain)
// go to next transaction
l_atom
=
a_chain
->
callback_atom_iter_get_next
(
l_atom_iter
);
l_atom_size
=
a_chain
->
callback_atom_get_size
(
l_atom
);
l_atom_size
=
l_atom
?
a_chain
->
callback_atom_get_size
(
l_atom
)
:
0
;
}
// delete hashes
...
...
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