Epic fee calculation issue
This commit is contained in:
parent
6e72d0db8f
commit
4663bb25bf
@ -63,7 +63,7 @@ export class BlockchainBlockController {
|
|||||||
if (fee == 0) {
|
if (fee == 0) {
|
||||||
return this.epic(0);
|
return this.epic(0);
|
||||||
} else if (fee < 1000) {
|
} else if (fee < 1000) {
|
||||||
return (fee * 1000000) / 1000000000;
|
return fee / 1000000;
|
||||||
} else {
|
} else {
|
||||||
return this.milliEpic(parseFloat(fee) / 1000);
|
return this.milliEpic(parseFloat(fee) / 1000);
|
||||||
}
|
}
|
||||||
@ -73,7 +73,7 @@ export class BlockchainBlockController {
|
|||||||
if (fee == 0) {
|
if (fee == 0) {
|
||||||
return this.epic(0);
|
return this.epic(0);
|
||||||
} else if (fee < 1000) {
|
} else if (fee < 1000) {
|
||||||
return (fee * 1000) / 1000000000;
|
return fee / 1000;
|
||||||
} else {
|
} else {
|
||||||
return this.epic(parseFloat(fee) / 1000);
|
return this.epic(parseFloat(fee) / 1000);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user