Skip to content

Commit

Permalink
Merge pull request #1396 from oxarbitrage/es_add_policy_field
Browse files Browse the repository at this point in the history
add additional checks to adaptor for live chain sync
  • Loading branch information
oxarbitrage authored Oct 24, 2018
2 parents 47bd249 + ff0629c commit 9f6630d
Showing 1 changed file with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,23 @@ struct adaptor_struct {
{
o["initializer"] = fc::json::to_string(o["initializer"]);
}
if (o.find("policy") != o.end())
{
o["policy"] = fc::json::to_string(o["policy"]);
}
if (o.find("predicates") != o.end())
{
o["predicates"] = fc::json::to_string(o["predicates"]);
}
if (o.find("active_special_authority") != o.end())
{
o["active_special_authority"] = fc::json::to_string(o["active_special_authority"]);
}
if (o.find("owner_special_authority") != o.end())
{
o["owner_special_authority"] = fc::json::to_string(o["owner_special_authority"]);
}


variant v;
fc::to_variant(o, v, FC_PACK_MAX_DEPTH);
Expand Down

0 comments on commit 9f6630d

Please sign in to comment.