proper init of publick_key

This commit is contained in:
sierra19XX 2020-10-22 14:55:37 +00:00
parent e23637a01f
commit 00a6fc8d23

View file

@ -105,6 +105,7 @@ void transaction::get_required_authorities( flat_set<account_id_type>& active,
const flat_set<public_key_type> empty_keyset;
struct sign_state
{
@ -230,7 +231,7 @@ struct sign_state
sign_state( const flat_set<public_key_type>& sigs,
const std::function<const authority*(account_id_type)>& a,
const flat_set<public_key_type>& keys = flat_set<public_key_type>() )
const flat_set<public_key_type>& keys = empty_keyset )
:get_active(a),available_keys(keys)
{
for( const auto& key : sigs )