fixes #438
This commit is contained in:
parent
979b870c9c
commit
c7c4895eab
@ -118,8 +118,8 @@ export class TransactionComponent implements OnInit, OnDestroy {
|
|||||||
totalFees += cpfpInfo.bestDescendant.fee;
|
totalFees += cpfpInfo.bestDescendant.fee;
|
||||||
}
|
}
|
||||||
|
|
||||||
const effectiveFeePerVsize = +(totalFees / (totalWeight / 4)).toFixed(1);
|
const effectiveFeePerVsize = totalFees / (totalWeight / 4);
|
||||||
this.tx.effectiveFeePerVsize = effectiveFeePerVsize;
|
this.tx.effectiveFeePerVsize = +effectiveFeePerVsize.toFixed(1);
|
||||||
this.stateService.markBlock$.next({ txFeePerVSize: effectiveFeePerVsize });
|
this.stateService.markBlock$.next({ txFeePerVSize: effectiveFeePerVsize });
|
||||||
this.cpfpInfo = cpfpInfo;
|
this.cpfpInfo = cpfpInfo;
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user