`operation_get_impacted_accounts` does not collect accounts from the `comment_payout_beneficiaries`
comment_options_operation
operation has the comment_options_extensions_type
-type member named extensions
.
This is a flat_set
of static_variant
s, which may contain comment_payout_beneficiaries
.
The only member of comment_payout_beneficiaries
is a vector
of beneficiary_route_type
s, which contains impacted accounts.
They are not handled at the moment. Let's change it, so not only accounts from the get_required_..._authorities
would be gathered, but from the extensions
member too.
Example comment_options_operation
containing comment_payout_beneficiaries
extension with an impacted account (currently ignored by the operation_get_impacted_accounts
):
{
"type": "comment_options_operation",
"value": {
"author": "initminer",
"permlink": "firstpost",
"max_accepted_payout": {
"amount": "1000000000",
"precision": 3,
"nai": "@@000000013"
},
"percent_hbd": 10000,
"allow_votes": true,
"allow_curation_rewards": true,
"extensions": [
{
"type": "comment_payout_beneficiaries",
"value": {
"beneficiaries": [
{
"account": "gtg",
"weight": 34464
}
]
}
}
]
}
}