diff --git a/crates/by-chain/icepick-solana/src/lib.rs b/crates/by-chain/icepick-solana/src/lib.rs index 8ef8014..3799321 100644 --- a/crates/by-chain/icepick-solana/src/lib.rs +++ b/crates/by-chain/icepick-solana/src/lib.rs @@ -656,7 +656,7 @@ impl Module for Solana { let _simulated_response = client.simulate_transaction(&transaction).unwrap(); let response = client.send_and_confirm_transaction(&transaction); let cluster_suffix = { - if cluster != Cluster::MainnetBeta { + if cluster == Cluster::MainnetBeta { String::new() } else { format!("?cluster={cluster}") diff --git a/e2e-tests/solana/online.sh b/e2e-tests/solana/online.sh index 6191b2f..5f64102 100644 --- a/e2e-tests/solana/online.sh +++ b/e2e-tests/solana/online.sh @@ -29,4 +29,4 @@ echo "Waiting for signed transaction..." while test ! -f /data/output.json; do sleep 1; done echo "Broadcasting transaction" -icepick sol broadcast --cluster devnet < /data/output.json +icepick sol broadcast --cluster devnet < /data/output.json | jq .