From 7fe550b6783b21d2fb506602d5f16134049962d9 Mon Sep 17 00:00:00 2001 From: svin Date: Mon, 26 Feb 2024 15:52:11 +0200 Subject: [PATCH] fix reshare script --- relay/reshare.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/relay/reshare.sh b/relay/reshare.sh index 0c45efdc..091ad383 100644 --- a/relay/reshare.sh +++ b/relay/reshare.sh @@ -20,11 +20,11 @@ fi if [[ "$MPC_MEID" == "Kevin" || "$MPC_MEID" == "Lang" || "$MPC_MEID" == "Rory" ]]; then - CMD="go run main.go -reshare -url $URL -partyIDs $OLD_PARTY -threshold 5 -partyIDsNew $NEW_PARTY -thresholdNew 5 -shareDir $SHARE_DIR -meID $MPC_MEID" + CMD="go run cmd/main.go -reshare -url $URL -partyIDs $OLD_PARTY -threshold 5 -partyIDsNew $NEW_PARTY -thresholdNew 5 -shareDir $SHARE_DIR -meID $MPC_MEID" elif [[ "$MPC_MEID" == "backup2" || "$MPC_MEID" == "Michael2" || "$MPC_MEID" == "Seth2" || "$MPC_MEID" == "Od2" ]]; then - CMD="go run main.go -reshare -url $URL -partyIDs $OLD_PARTY -threshold 5 -partyIDsNew $NEW_PARTY -thresholdNew 5 -shareDir $SHARE_DIR -meIDNew $MPC_MEID" + CMD="go run cmd/main.go -reshare -url $URL -partyIDs $OLD_PARTY -threshold 5 -partyIDsNew $NEW_PARTY -thresholdNew 5 -shareDir $SHARE_DIR -meIDNew $MPC_MEID" elif [[ "$MPC_MEID" == "Andrey" ]]; then - CMD="go run main.go -reshare -url $URL -partyIDs $OLD_PARTY -threshold 5 -partyIDsNew $NEW_PARTY -thresholdNew 5 -shareDir $SHARE_DIR -meID Andrey -meIDNew Andrey2" + CMD="go run cmd/main.go -reshare -url $URL -partyIDs $OLD_PARTY -threshold 5 -partyIDsNew $NEW_PARTY -thresholdNew 5 -shareDir $SHARE_DIR -meID Andrey -meIDNew Andrey2" else echo "Error: MPC_MEID value does not match any condition" exit 1