Skip to content

Commit

Permalink
show correct amount for pending tx (m2049r#309)
Browse files Browse the repository at this point in the history
  • Loading branch information
m2049r committed Jun 11, 2018
1 parent 4e54866 commit 9977a74
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/src/main/java/com/m2049r/aeonwallet/TxFragment.java
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,6 @@ private void show(TransactionInfo info) {
String sign = (info.direction == TransactionInfo.Direction.Direction_In ? "+" : "-");

long realAmount = info.amount;
if (info.isPending) {
realAmount = realAmount - info.fee;
}
tvTxAmount.setText(sign + Wallet.getDisplayAmount(realAmount));

if ((info.fee > 0)) {
Expand Down

0 comments on commit 9977a74

Please sign in to comment.