Skip to content
This repository was archived by the owner on Dec 29, 2018. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions libraries/wallet/wallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ class wallet_api_impl
}
}

tx.minimize_required_signatures(
const auto keys_to_use = tx.minimize_required_signatures(
MUSE_CHAIN_ID,
available_keys,
[&]( const string& account_name ) -> const authority*
Expand All @@ -816,7 +816,7 @@ class wallet_api_impl
MUSE_MAX_SIG_CHECK_DEPTH
);

for( const public_key_type& k : available_keys )
for( const public_key_type& k : keys_to_use )
{
auto it = available_private_keys.find(k);
FC_ASSERT( it != available_private_keys.end() );
Expand Down