Fixed get_potential_signatures_other test case
This commit is contained in:
parent
8a395e2135
commit
20fe70c445
1 changed files with 9 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue