This commit is contained in:
softsimon 2021-04-10 20:59:27 +04:00
parent 979b870c9c
commit c7c4895eab
No known key found for this signature in database
GPG Key ID: 488D7DCFB5A430D7

View File

@ -118,8 +118,8 @@ export class TransactionComponent implements OnInit, OnDestroy {
totalFees += cpfpInfo.bestDescendant.fee;
}
const effectiveFeePerVsize = +(totalFees / (totalWeight / 4)).toFixed(1);
this.tx.effectiveFeePerVsize = effectiveFeePerVsize;
const effectiveFeePerVsize = totalFees / (totalWeight / 4);
this.tx.effectiveFeePerVsize = +effectiveFeePerVsize.toFixed(1);
this.stateService.markBlock$.next({ txFeePerVSize: effectiveFeePerVsize });
this.cpfpInfo = cpfpInfo;
});