diff --git a/solana/pyth2wormhole/Cargo.lock b/solana/pyth2wormhole/Cargo.lock index 6565cbc177..d156d03e62 100644 --- a/solana/pyth2wormhole/Cargo.lock +++ b/solana/pyth2wormhole/Cargo.lock @@ -2710,7 +2710,7 @@ dependencies = [ [[package]] name = "pyth2wormhole-client" -version = "1.1.0" +version = "1.1.1" dependencies = [ "borsh", "clap 3.1.18", diff --git a/solana/pyth2wormhole/client/Cargo.toml b/solana/pyth2wormhole/client/Cargo.toml index 5f979e4c8c..0ced5ada2f 100644 --- a/solana/pyth2wormhole/client/Cargo.toml +++ b/solana/pyth2wormhole/client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pyth2wormhole-client" -version = "1.1.0" +version = "1.1.1" edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/third_party/pyth/p2w_autoattest.py b/third_party/pyth/p2w_autoattest.py index 39fd3d977d..fea0793e8b 100755 --- a/third_party/pyth/p2w_autoattest.py +++ b/third_party/pyth/p2w_autoattest.py @@ -248,8 +248,7 @@ ) # Wait for an unexpected process exit - while p2w_client_process.poll() is None: - pass + retcode = p2w_client_process.wait() # Yell if the supposedly non-stop attestation process exits - logging.warn(f"pyth2wormhole-client stopped unexpectedly with code {p2w_client_process.retcode}") + logging.warn(f"pyth2wormhole-client stopped unexpectedly with code {retcode}")