From cee6e9024188a77160ae703c444063241f7192cc Mon Sep 17 00:00:00 2001 From: MoneroOcean Date: Sat, 18 Aug 2018 08:57:10 +0200 Subject: [PATCH] Fixed RYO support --- src/cryptonote_core/cryptonote_format_utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cryptonote_core/cryptonote_format_utils.cpp b/src/cryptonote_core/cryptonote_format_utils.cpp index 5db8bde..fbe2c6b 100644 --- a/src/cryptonote_core/cryptonote_format_utils.cpp +++ b/src/cryptonote_core/cryptonote_format_utils.cpp @@ -19,7 +19,7 @@ namespace cryptonote void get_transaction_prefix_hash(const transaction_prefix& tx, crypto::hash& h) { std::ostringstream s; - s << "ryo-currency"; + if (t.blob_type == BLOB_TYPE_CRYPTONOTE_RYO) s << "ryo-currency"; binary_archive a(s); ::serialization::serialize(a, const_cast(tx)); crypto::cn_fast_hash(s.str().data(), s.str().size(), h);