parent
1c368a6d66
commit
8c4fedc520
@ -23,7 +23,6 @@ REPO="https://git.vdb.to/LaconicNetwork/laconic-dot-com"
|
||||
# Get the commit hash for the tag using GitHub API
|
||||
COMMIT_HASH=`git log -1 --format="%H"`
|
||||
|
||||
|
||||
# Create temporary files
|
||||
RECORD_FILE=tmp.rf.$$
|
||||
CONFIG_FILE=$(mktemp)
|
||||
@ -71,6 +70,7 @@ if [ ! -z "$DEPLOYER_LRN" ]; then
|
||||
|
||||
if [[ -n "$paymentAmount" && "$paymentAmount" != "null" ]]; then
|
||||
payment=$(laconic -c $CONFIG_FILE registry tokens send --address "$paymentAddress" --type alnt --quantity "$paymentAmount" --user-key "$CERC_REGISTRY_USER_KEY" --bond-id "$CERC_REGISTRY_BOND_ID")
|
||||
echo "payment $payment"
|
||||
txHash=$(echo "$payment" | jq -r '.tx.hash')
|
||||
echo "Paid deployer with txHash: $txHash"
|
||||
else
|
||||
|
||||
Loading…
Reference in New Issue
Block a user