Merge pull request #198 from tomochain/fix/docker

Remove pkey file from node container after importing the account
This commit is contained in:
Tuna 2018-10-01 17:54:09 +07:00 committed by GitHub
commit 9fa830c741
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -98,6 +98,7 @@ if [[ $accountsCount -le 0 ]]; then
--datadir $DATA_DIR \ --datadir $DATA_DIR \
--keystore $KEYSTORE_DIR \ --keystore $KEYSTORE_DIR \
--password ./password --password ./password
rm ./private_key
else else
echo "Creating new account" echo "Creating new account"
tomo account new \ tomo account new \