From 93669ab1fc8abc132bbfab24978817b865fd1182 Mon Sep 17 00:00:00 2001 From: Stephen Akridge Date: Thu, 16 Apr 2020 10:10:49 -0700 Subject: [PATCH] Write wallet key to explicit file --- scripts/wallet-sanity.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/wallet-sanity.sh b/scripts/wallet-sanity.sh index 8b4799114b..218ee795ff 100755 --- a/scripts/wallet-sanity.sh +++ b/scripts/wallet-sanity.sh @@ -15,7 +15,9 @@ else args=("$@") fi -$solana_keygen new --no-passphrase -sf +keypair="target/wallet-sanity-keypair.json" +$solana_keygen new --no-passphrase -sf -o $keypair +args+=(--keypair "$keypair") node_readiness=false timeout=60 @@ -41,6 +43,7 @@ fi $solana_cli "${args[@]}" ping --count 5 --interval 0 $solana_cli "${args[@]}" balance --lamports ) +rm $keypair echo PASS exit 0