mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-17 18:30:45 +00:00
remove pkey file from node image after importing the account
This commit is contained in:
parent
8f319018b3
commit
94193184e8
1 changed files with 1 additions and 0 deletions
|
|
@ -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"
|
||||||
XDC account new \
|
XDC account new \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue