Skip to content
Snippets Groups Projects
Commit 0f25b085 authored by dmitriy.gerasimov's avatar dmitriy.gerasimov
Browse files

[*] Stylistic fix

parent 72bf9702
No related branches found
No related tags found
1 merge request!24Support 3689
...@@ -35,6 +35,7 @@ int dap_hash_fast(const void *a_data_in, size_t a_data_in_size, dap_chain_hash_f ...@@ -35,6 +35,7 @@ int dap_hash_fast(const void *a_data_in, size_t a_data_in_size, dap_chain_hash_f
DAP_HASH_TYPE_KECCAK); DAP_HASH_TYPE_KECCAK);
return 1; return 1;
} }
bool dap_hash_fast_is_blank(dap_chain_hash_fast_t *a_hash) bool dap_hash_fast_is_blank(dap_chain_hash_fast_t *a_hash)
{ {
uint8_t *l_hast_bytes = (uint8_t*) a_hash; uint8_t *l_hast_bytes = (uint8_t*) a_hash;
......
...@@ -35,7 +35,8 @@ typedef enum dap_hash_type { ...@@ -35,7 +35,8 @@ typedef enum dap_hash_type {
DAP_HASH_TYPE_SLOW_0 = 1, DAP_HASH_TYPE_SLOW_0 = 1,
} dap_hash_type_t; } dap_hash_type_t;
inline static void dap_hash(const void * a_data_in, size_t a_data_in_size,
static inline void dap_hash(const void * a_data_in, size_t a_data_in_size,
void * a_data_out, size_t a_data_out_size, void * a_data_out, size_t a_data_out_size,
dap_hash_type_t a_type ){ dap_hash_type_t a_type ){
switch (a_type){ switch (a_type){
......
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