diff --git a/dap_chain_wallet.c b/dap_chain_wallet.c index ef187af417700d827052a65222ce5c65543526cc..a4020769bb4e5e1696400a2cfabd7e34166d6953 100755 --- a/dap_chain_wallet.c +++ b/dap_chain_wallet.c @@ -105,7 +105,7 @@ void dap_chain_wallet_close( dap_chain_wallet_t * a_wallet) * @param a_wallet * @return */ -const dap_chain_addr_t* dap_chain_wallet_get_addr(dap_chain_wallet_t * a_wallet) +dap_chain_addr_t* dap_chain_wallet_get_addr(dap_chain_wallet_t * a_wallet) { if(!a_wallet) return NULL; diff --git a/dap_chain_wallet.h b/dap_chain_wallet.h index 6ea47ddeef670ebe5495d7731909142a7ec9b038..bc02c9903d8182a468af1d64a6031019a09d3589 100755 --- a/dap_chain_wallet.h +++ b/dap_chain_wallet.h @@ -47,7 +47,7 @@ int dap_chain_wallet_save(dap_chain_wallet_t * a_wallet); void dap_chain_wallet_close( dap_chain_wallet_t * a_wallet); -const dap_chain_addr_t* dap_chain_wallet_get_addr(dap_chain_wallet_t * a_wallet); +dap_chain_addr_t* dap_chain_wallet_get_addr(dap_chain_wallet_t * a_wallet); size_t dap_chain_wallet_get_certs_number( dap_chain_wallet_t * a_wallet); dap_chain_pkey_t * dap_chain_wallet_get_pkey( dap_chain_wallet_t * a_wallet,uint32_t a_key_idx); dap_enc_key_t * dap_chain_wallet_get_key( dap_chain_wallet_t * a_wallet,uint32_t a_key_idx);