Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/release/3.2' into GH-1081-dry-ru…
Browse files Browse the repository at this point in the history
…n-auth-check-4.0
  • Loading branch information
heifner committed Apr 26, 2023
2 parents 48e83f1 + e059d82 commit e33ed69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/chain/authorization_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -559,8 +559,8 @@ namespace eosio { namespace chain {

}

if( !allow_unused_keys || check_but_dont_fail) {
EOS_ASSERT( checker.all_keys_used(), tx_irrelevant_sig,
if( !allow_unused_keys ) {
EOS_ASSERT( checker.all_keys_used() || check_but_dont_fail, tx_irrelevant_sig,
"transaction bears irrelevant signatures from these keys: ${keys}",
("keys", checker.unused_keys()) );
}
Expand Down

0 comments on commit e33ed69

Please sign in to comment.