Update fee in qdn script

This commit is contained in:
QuickMythril 2023-09-08 03:30:06 -04:00 committed by GitHub
parent 4fb799ba38
commit d453e80c6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}"