Skip to content

Commit

Permalink
Remove Lighthouse workaround for signed exit data (#1547)
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickdowne authored Oct 11, 2023
1 parent c0a7c88 commit 2b376d4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions vc-utils/keymanager.sh
Original file line number Diff line number Diff line change
Expand Up @@ -242,9 +242,7 @@ exit-sign() {
*) echo "Unexpected return code $__code. Result: $__result"; exit 1;;
esac
# This is only reached for 200
if jq -e '.data != null' <<< "${__result}" &>/dev/null; then
__result=$(echo "${__result}" | jq -c '.data')
fi
__result=$(echo "${__result}" | jq -c '.data')

echo "${__result}" >"/exit_messages/${__pubkey::10}--${__pubkey:90}-exit.json"
exitstatus=$?
Expand Down

0 comments on commit 2b376d4

Please sign in to comment.