Skip to content

Commit

Permalink
Merge pull request #1081 from PinelliaC/main
Browse files Browse the repository at this point in the history
fix: not fail on signature checks for dry-run txns
  • Loading branch information
spoonincode authored Apr 26, 2023
2 parents 4a4ed57 + e585d0e commit 6184957
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 6184957

Please sign in to comment.