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 54aca39 commit fb01475
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/send/send.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export class SendComponent implements OnInit {
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 fb01475

Please sign in to comment.