USE_SNAP=1 is now supported

This commit is contained in:
Michael Vines 2018-07-13 22:10:39 -07:00
parent 1f9152dc72
commit d349d6aa98
1 changed files with 7 additions and 1 deletions

View File

@ -6,7 +6,13 @@
here=$(dirname "$0")
cd "$here"
wallet="../wallet.sh $1"
if [[ -n "$USE_SNAP" ]]; then
# TODO: Merge wallet.sh functionality into solana-wallet proper and
# remove this USE_SNAP case
wallet="solana.wallet $1"
else
wallet="../wallet.sh $1"
fi
# Tokens transferred to this address are lost forever...
garbage_address=vS3ngn1TfQmpsW1Z4NkLuqNAQFF3dYQw8UZ6TCx9bmq