mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 15:37:56 -05:00
* signer/*: golint fixes Specifically naming and comment formatting for documentation * signer/*: fixed naming error crashing build * signer/*: corrected error * signer/core: fix tiny error whitespace * signer/rules: fix test refactor Former-commit-id: e5aa4376db0bb59d577d0fc62b0d5e5766ce445e [formerly 8161f1ac395ffd49126597cb640ca9fff5e3a8df] Former-commit-id: 4b759f413a22175b9bd0b6d47a9878a3e5440b17
17 lines
432 B
Bash
17 lines
432 B
Bash
#!/bin/bash
|
|
|
|
SIGNER_BIN="/home/user/tools/clef/clef"
|
|
SIGNER_CMD="/home/user/tools/gtksigner/gtkui.py -s $SIGNER_BIN"
|
|
|
|
# Start clef if not already started
|
|
if [ ! -S /home/user/.clef/clef.ipc ]; then
|
|
$SIGNER_CMD &
|
|
sleep 1
|
|
fi
|
|
|
|
# Should be started by now
|
|
if [ -S /home/user/.clef/clef.ipc ]; then
|
|
# Post incoming request to HTTP channel
|
|
curl -H "Content-Type: application/json" -X POST -d @- http://localhost:8550 2>/dev/null
|
|
fi
|