Fixed get_potential_signatures_other test case

This commit is contained in:
Ronak Patel 2019-08-29 15:12:40 +05:30
parent 8a395e2135
commit 20fe70c445

View file

@ -1717,6 +1717,15 @@ set<public_key_type> database_api_impl::get_potential_signatures( const signed_t
_db.get_global_properties().parameters.max_authority_depth
);
// Insert keys in required "other" authories
flat_set<account_id_type> required_active;
flat_set<account_id_type> required_owner;
vector<authority> other;
trx.get_required_authorities( required_active, required_owner, other );
for( const auto& auth : other )
for( const auto& key : auth.get_keys() )
result.insert( key );
wdump((result));
return result;
}