1
0
Fork 0
forked from lthn/blockchain

fixed few compilation issues

This commit is contained in:
cryptozoidberg 2023-10-31 19:43:28 +01:00
parent 76577d21a9
commit 3f0bed4899
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC

View file

@ -409,15 +409,15 @@ namespace currency
}
//----------------------------------------------------------------------------------------------------
std::string wallet2::transform_tx_to_str(const currency::transaction& tx)
std::string transform_tx_to_str(const currency::transaction& tx)
{
return currency::obj_to_json_str(tx);
}
//----------------------------------------------------------------------------------------------------
currency::transaction wallet2::transform_str_to_tx(const std::string& tx_str)
transaction transform_str_to_tx(const std::string& tx_str)
{
THROW_IF_TRUE_WALLET_INT_ERR_EX_NO_HANDLER(false, "transform_str_to_tx shoruld never be called");
return currency::transaction();
CHECK_AND_ASSERT_THROW_MES(false, "transform_str_to_tx shoruld never be called");
return transaction();
}