Commit ce562659 authored by Bartek Wrona's avatar Bartek Wrona
Browse files

Improved backward compatibility in serialize_set_properties tool.

parent 4bb55d51
......@@ -52,6 +52,12 @@ class serialize_member_visitor
return;
vector<char> v = fc::raw::pack_to_vector( *(_in.*member) );
if(strcmp("hbd_interest_rate", name) == 0)
name = "sbd_interest_rate";
else
if(strcmp("hbd_exchange_rate", name) == 0)
name = "sbd_exchange_rate";
_out.emplace( name, std::move( v ) );
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment