Skip to content

Commit

Permalink
Flooring syncNanoPrice amount
Browse files Browse the repository at this point in the history
  • Loading branch information
qwahzi authored Nov 6, 2021
1 parent fb01475 commit b8edfd3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ export class AccountDetailsComponent implements OnInit, OnDestroy {
const nanoVal = this.util.nano.rawToNano(rawAmount).floor();
const nanoAmount = this.getAmountValueFromBase(this.util.nano.nanoToRaw(nanoVal));

this.amount = nanoAmount.toNumber();
this.amount = nanoAmount.toNumber().floor();
}

searchAddressBook() {
Expand Down

0 comments on commit b8edfd3

Please sign in to comment.