diff --git a/dap_chain_wallet.c b/dap_chain_wallet.c index 39e05ec155995ef4aae5256aeaf67cd3fe500f08..56e86fb043d01ae50bd7d26a12cdbaa07a3b0181 100644 --- a/dap_chain_wallet.c +++ b/dap_chain_wallet.c @@ -53,7 +53,7 @@ void dap_chain_wallet_deinit() * @details Creates new one if not found * @return Wallet, new wallet or NULL if errors */ -dap_chain_wallet_t * dap_chain_wallet_open(const char * a_file_name, dap_chain_sig_type_t a_sig_type) +dap_chain_wallet_t * dap_chain_wallet_open(const char * a_file_name, dap_chain_sign_type_t a_sig_type) { dap_chain_wallet_t * l_wallet = DAP_NEW_Z(dap_chain_wallet_t); DAP_CHAIN_WALLET_INTERNAL_LOCAL_NEW(l_wallet); diff --git a/dap_chain_wallet.h b/dap_chain_wallet.h index 87f4d06bb3a4596a964c457a5aadefa97f742cfc..076f7cdcebb7e21f437008d61367d3c77f05c58f 100644 --- a/dap_chain_wallet.h +++ b/dap_chain_wallet.h @@ -33,7 +33,7 @@ typedef struct dap_chain_wallet{ int dap_chain_wallet_init(); void dap_chain_wallet_deinit(); -dap_chain_wallet_t * dap_chain_wallet_open(const char * a_file_name, dap_chain_sig_type_t a_sig_type); // Creates new one if not found +dap_chain_wallet_t * dap_chain_wallet_open(const char * a_file_name, dap_chain_sign_type_t a_sig_type); // Creates new one if not found void dap_chain_wallet_close( dap_chain_wallet_t * a_wallet); int dap_chain_wallet_get_pkey( dap_chain_wallet_t * a_wallet,uint32_t a_pkey_idx, void * a_pkey, size_t a_pkey_size_max); diff --git a/dap_chain_wallet_internal.h b/dap_chain_wallet_internal.h index fd5146060394afd9795ea059729f0c023d744b0f..8cd5de7dc8e939617ce3a6f95f8ff1164e9deb06 100644 --- a/dap_chain_wallet_internal.h +++ b/dap_chain_wallet_internal.h @@ -33,7 +33,7 @@ typedef struct dap_chain_wallet_key{ struct { - dap_chain_sig_type_t sig_type; /// Signature type + dap_chain_sign_type_t sig_type; /// Signature type uint32_t key_size; /// Private key size } header; uint8_t key_raw[]; /// Raw data of the private key