Skip to content

Commit

Permalink
Merge branch 'devel'
Browse files Browse the repository at this point in the history
  • Loading branch information
beregovoy68 committed Jun 28, 2016
2 parents 2e9004b + 5556d6d commit a27811c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/waves.ui.wallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,7 @@ var Waves = (function(Waves, $, undefined) {
return;

var currentBalance = $("#wavesCurrentBalance").val();
var maxSend = Waves.wavesToWavelets(currentBalance) - 1;
maxSend = Waves.waveletsToWaves(maxSend);
var maxSend = currentBalance - Waves.UI.constants.MINIMUM_TRANSACTION_FEE;
var sendAmount = Number($("#wavessendamount").val().replace(/\s+/g, ''));

if (sendAmount > maxSend) {
Expand Down

0 comments on commit a27811c

Please sign in to comment.