Skip to content
Snippets Groups Projects
Commit 07f2792e authored by alexey.stratulat's avatar alexey.stratulat
Browse files

[*] Fixed the work of the ledger test.

parent 7faf5ccf
No related branches found
No related tags found
2 merge requests!897hotfix-6925,!874[*] Fixed the work of the ledger test.
Pipeline #19576 failed with stage
in 5 minutes and 22 seconds
......@@ -358,7 +358,8 @@ void dap_chain_ledger_test_write_back_list(dap_ledger_t *a_ledger, dap_cert_t *a
}
void dap_chain_ledger_test_run(void){
dap_chain_net_id_t l_iddn = dap_chain_net_id_from_str("0x0xFA0");
dap_chain_net_id_t l_iddn = {0};
dap_sscanf("0xFA0", "0x%16"DAP_UINT64_FORMAT_x, &l_iddn.uint64);
dap_print_module_name("dap_chain_ledger");
uint16_t l_flags = 0;
l_flags |= DAP_CHAIN_LEDGER_CHECK_TOKEN_EMISSION;
......@@ -412,4 +413,4 @@ void dap_chain_ledger_test_run(void){
dap_chain_ledger_test_double_spending(l_ledger, &l_hash_btx, l_cert->enc_key, l_iddn);
dap_chain_ledger_test_excess_supply(l_ledger, l_cert, &l_addr);
dap_chain_ledger_test_write_back_list(l_ledger, l_cert, l_iddn);
}
\ No newline at end of file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment