Handle coinbase transactions no longer has undefined fee.

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

View File

@@ -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;