From 4e0396835dd933a28446844da294040345f2e6ad Mon Sep 17 00:00:00 2001 From: Cory Fields Date: Tue, 4 Apr 2023 21:28:14 +0000 Subject: [PATCH] verifybinaries: remove unreachable code --- contrib/verifybinaries/verify.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/contrib/verifybinaries/verify.py b/contrib/verifybinaries/verify.py index 4917254677c..bb6bf6129dc 100755 --- a/contrib/verifybinaries/verify.py +++ b/contrib/verifybinaries/verify.py @@ -375,10 +375,6 @@ def verify_shasums_signature( if gpg_retval not in gpg_allowed_codes: if gpg_retval == 1: log.critical(f"Bad signature (code: {gpg_retval}).") - if gpg_retval == 2: - log.critical( - "gpg error. Do you have the Bitcoin Core binary release " - "signing key installed?") else: log.critical(f"unexpected GPG exit code ({gpg_retval})")