Skip to content

Commit 4d19d4c

Browse files
committed
Update deps and fix fund script
1 parent 7914be8 commit 4d19d4c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts-demo/fund.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ run_cardano_cli() {
1414
export CARDANO_NODE_SOCKET_PATH=./testnet-data/socket/node1/sock
1515
export CARDANO_NODE_NETWORK_ID=42
1616
SRC_ADDR=$(cat testnet-data/utxo-keys/utxo1/utxo.addr)
17-
SRC_UTXO=$(run_cardano-cli latest query utxo --address "$SRC_ADDR" | jq -r 'keys[0]')
18-
run_cardano-cli latest transaction build --tx-in "$SRC_UTXO" --tx-out "$1+$2" --change-address "$SRC_ADDR" --out-file funding.txbody
19-
run_cardano-cli latest transaction sign --tx-body-file funding.txbody --signing-key-file testnet-data/utxo-keys/utxo1/utxo.skey --out-file funding.tx
20-
run_cardano-cli latest transaction submit --tx-file funding.tx
17+
SRC_UTXO=$(run_cardano_cli latest query utxo --address "$SRC_ADDR" | jq -r 'keys[0]')
18+
run_cardano_cli latest transaction build --tx-in "$SRC_UTXO" --tx-out "$1+$2" --change-address "$SRC_ADDR" --out-file funding.txbody
19+
run_cardano_cli latest transaction sign --tx-body-file funding.txbody --signing-key-file testnet-data/utxo-keys/utxo1/utxo.skey --out-file funding.tx
20+
run_cardano_cli latest transaction submit --tx-file funding.tx

0 commit comments

Comments
 (0)