Browse Source

Update fee in qdn script

thread-limits
QuickMythril 1 year ago committed by GitHub
parent
commit
d453e80c6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      tools/qdn

6
tools/qdn

@ -131,12 +131,12 @@ if [[ "${method}" == "POST" ]]; then
fi
if [ -n "$fee" ]; then
if [[ "$fee" == "1" || "$fee" == ".001" ]]; then
fee="100000"
if [[ "$fee" == "1" || "$fee" == ".01" ]]; then
fee="1000000"
elif [ -z "$fee" ]; then
fee=""
else
echo "Error: Invalid fee value. Expected '1', '.001' or no input."
echo "Error: Invalid fee value. Expected '1', '.01' or no input."
exit 1
fi
final_fee="${fee}"

Loading…
Cancel
Save