Handle coinbase transactions no longer has undefined fee.

This commit is contained in:
softsimon committed 2020-07-24 00:20:59 +07:00
1 parent 993719f4a0
commit 92044128c9
4 files changed
+7 -4

No files matched your search

@@ -74,6 +74,9 @@ export class TransactionComponent implements OnInit, OnDestroy {
return;
}
this.tx = tx;
if (tx.fee === undefined) {
this.tx.fee = 0;
}
this.isLoadingTx = false;
this.error = undefined;
this.waitingForTransaction = false;