From 5462a5dee82e58e4804b8d0ad2be63f7bbba144e Mon Sep 17 00:00:00 2001 From: anastasia prasolova Date: Sun, 7 Nov 2021 20:11:17 +0300 Subject: [PATCH] [#144]: removed `NEOGO_NONINTERACTIVE` variable as it isn't used anymore Signed-off-by: anastasia prasolova --- bin/tick.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/bin/tick.sh b/bin/tick.sh index 2b71070..5853d1d 100755 --- a/bin/tick.sh +++ b/bin/tick.sh @@ -6,9 +6,6 @@ # NeoGo binary path. NEOGO="${NEOGO:-docker exec -it main_chain neo-go}" -# Launching neo-go this way is useful, when running the script not from -# terminal, for instance, in jenkins job. -NEOGO_NONINTERACTIVE="${NEOGO_NONINTERACTIVE:-docker exec main_chain neo-go}" # Wallet files to change config value WALLET="${WALLET:-services/chain/node-wallet.json}" @@ -30,7 +27,7 @@ BLOCK_DURATION=`grep SecondsPerBlock < $SIDECHAIN_PROTO | awk '{print $2}'` NETMAP_ADDR=`bin/resolve.sh netmap.neofs` # Fetch current epoch value -EPOCH=`${NEOGO_NONINTERACTIVE} contract testinvokefunction -r \ +EPOCH=`${NEOGO} contract testinvokefunction -r \ http://morph_chain.${LOCAL_DOMAIN}:30333 \ ${NETMAP_ADDR} \ epoch | grep 'value' | awk -F'"' '{ print $4 }'`