forked from lthn/blockchain
fixed issue with deploy asset
This commit is contained in:
parent
affa0a91ac
commit
5978ed27f2
3 changed files with 5 additions and 2 deletions
|
|
@ -1935,7 +1935,7 @@ namespace wallet_public
|
|||
crypto::public_key new_asset_id;
|
||||
|
||||
BEGIN_KV_SERIALIZE_MAP()
|
||||
KV_SERIALIZE_POD_AS_HEX_STRING(tx_id) DOC_DSCR("Id of transaction that carries asset registration command, asset would be registered as soon as transaction got confirmed") DOC_EXMP("f74bb56a5b4fa562e679ccaadd697463498a66de4f1760b2cd40f11c3a00a7a8") DOC_END
|
||||
KV_SERIALIZE_POD_AS_HEX_STRING(tx_id) DOC_DSCR("Id of transaction that carries asset registration command, asset would be registered as soon as transaction got confirmed") DOC_EXMP("f74bb56a5b4fa562e679ccaadd697463498a66de4f1760b2cd40f11c3a00a7a8") DOC_END
|
||||
KV_SERIALIZE_POD_AS_HEX_STRING(new_asset_id) DOC_DSCR("Issued asset id") DOC_EXMP("40fa6db923728b38962718c61b4dc3af1acaa1967479c73703e260dc3609c58d") DOC_END
|
||||
END_KV_SERIALIZE_MAP()
|
||||
};
|
||||
|
|
|
|||
|
|
@ -268,6 +268,8 @@ namespace tools
|
|||
//------------------------------------------------------------------------------------------------------------------------------
|
||||
bool wallet_rpc_server::handle_http_request(const epee::net_utils::http::http_request_info& query_info, epee::net_utils::http::http_response_info& response, epee::net_utils::connection_context_base& conn_context, bool& call_found, documentation& docs)
|
||||
{
|
||||
|
||||
//#ifndef _DEBUG
|
||||
if (m_jwt_secret.size() && conn_context.m_connection_id != RPC_INTERNAL_UI_CONTEXT)
|
||||
{
|
||||
if (!auth_http_request(query_info, response, conn_context))
|
||||
|
|
@ -278,6 +280,7 @@ namespace tools
|
|||
return true;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
response.m_response_code = 200;
|
||||
response.m_response_comment = "Ok";
|
||||
|
|
|
|||
|
|
@ -237,7 +237,7 @@ private:
|
|||
std::mutex m_stop_singal_sent_mutex;
|
||||
std::condition_variable m_stop_singal_sent_mutex_cv;
|
||||
|
||||
std::mutex m_select_wallet_rpc_lock;
|
||||
std::recursive_mutex m_select_wallet_rpc_lock;
|
||||
|
||||
view::i_view m_view_stub;
|
||||
view::i_view* m_pview;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue