Skip to content

Commit

Permalink
First version v0.1 available
Browse files Browse the repository at this point in the history
  • Loading branch information
PsySc0rpi0n committed Oct 13, 2019
1 parent bc850a8 commit 2e222aa
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions TugaRevoBTC.sh → TugaRevoBTC_v0.1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,9 @@ check_balance(){
echo Checking Full Node data...
echo Current wallet has:
if [[ $used_net == "testnet" ]]; then
bitcoin-cli -testnet getbalance
bitcoin-cli -testnet getbalance "*" 1 true
else
bitcoin-cli getbalance
bitcoin-cli getbalance "*" 1 true
fi
}

Expand Down Expand Up @@ -209,9 +209,13 @@ check_txid(){
strlen=${#txid}
while [[ -z $txid || $strlen -ne $txidlen ]]
do
echo "TxID not valid. Please enter a valid one: "
echo "TxID not valid. Please enter a valid one or <Enter> to cancel: "
read -p '> ' txid
strlen=${#txid}
if [[ -z $txid ]]; then
echo "Cancelled"
return 1
fi
done
if [[ $used_net == "testnet" ]]; then
bitcoin-cli -testnet gettransaction $txid
Expand Down

0 comments on commit 2e222aa

Please sign in to comment.