From 65bfa4a4abd3fcdf0bfc65246340c1a2fb375b5e Mon Sep 17 00:00:00 2001 From: fred Date: Thu, 17 Nov 2022 12:07:23 +0100 Subject: [PATCH] IPNS PLAYER Key restore On VISA delegated Station --- ASTROBOT/PLAYER.refresh.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ASTROBOT/PLAYER.refresh.sh b/ASTROBOT/PLAYER.refresh.sh index 0f90fbe3..84e894fd 100755 --- a/ASTROBOT/PLAYER.refresh.sh +++ b/ASTROBOT/PLAYER.refresh.sh @@ -42,7 +42,9 @@ for PLAYER in $(ls -t ~/.zen/game/players/); do && mv ~/.zen/game/players/$PLAYER ~/.zen/game/players/.$PLAYER && continue ## MY PLAYER. - ipfs key rename $G1PUB $PLAYER + ipfs key export $G1PUB -o ~/.zen/tmp/$PLAYER.key + ipfs key import $PLAYER ~/.zen/tmp/$PLAYER.key + rm -f ~/.zen/tmp/$PLAYER.key ## REFRESH CACHE rm -Rf ~/.zen/tmp/${IPFSNODEID}/${PLAYER}/