Skip to content

Commit

Permalink
fix keyring filename
Browse files Browse the repository at this point in the history
  • Loading branch information
parketh committed Nov 9, 2024
1 parent 726dd8e commit bb86edc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/babylon-integration/utils/teardown.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ source "./common.sh"

# Get the consumer FP address
CONSUMER_FP_KEYRING_DIR=/home/finality-provider/.fpd
KEYRING_FILENAME=$(ls $CONSUMER_FP_KEYRING_DIR/keyring-test | grep '\.address$')
KEYRING_FILENAME=$(ls $CONSUMER_FP_KEYRING_DIR/keyring-test | grep '\.address$' | sed 's/\.address$//')
echo "Keyring filename: $KEYRING_FILENAME"
CONSUMER_FP_ADDRESS=$(babylond keys parse "$KEYRING_FILENAME" | grep -o '^[^- ]*' | head -n 1)
echo "Consumer FP address: $CONSUMER_FP_ADDRESS"

Expand Down

0 comments on commit bb86edc

Please sign in to comment.