Liquid dashboard assets updates

This commit is contained in:
softsimon
2022-02-13 00:46:42 +04:00
parent 738381702f
commit 294d7915e1
8 changed files with 80 additions and 10 deletions

View File

@@ -69,7 +69,7 @@ export function calcSegwitFeeGains(tx: Transaction) {
export function moveDec(num: number, n: number) {
let frac, int, neg, ref;
if (n === 0) {
return num;
return num.toString();
}
ref = ('' + num).split('.'), int = ref[0], frac = ref[1];
int || (int = '0');