Skip to content

Commit

Permalink
fixed only for peeroin.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matvei Vasily committed Jan 20, 2020
1 parent 8c128e3 commit db73cb4
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions js/cointoolkit.js
Original file line number Diff line number Diff line change
Expand Up @@ -2356,9 +2356,17 @@ $(document).ready(function() {

$("#transactionCreate").removeClass("hidden");

if($("#transactionFee").val()>=0.1){
$("#modalWarningFeeAmount").html($("#transactionFee").val());
$("#modalWarningFee").modal("show");
if ($("#coinSelector").val() == "peercoin" || $("#coinSelector").val() == "peercoin_testnet") {
if ($("#transactionFee").val()>=0.1){
$("#modalWarningFeeAmount").html($("#transactionFee").val());
$("#modalWarningFee").modal("show");
}
}
else {
if ($("#transactionFee").val()>=0.011){
$("#modalWarningFeeAmount").html($("#transactionFee").val());
$("#modalWarningFee").modal("show");
}
}
} else {
$("#transactionCreateStatus").removeClass("hidden").html("One or more input or output is invalid").fadeOut().fadeIn();
Expand Down

0 comments on commit db73cb4

Please sign in to comment.