1 parent
688a73cf75
commit
a42facb389
5 files changed
+5
-1
No files matched your search
@@ -70,7 +70,7 @@
|
||||
</ng-template>
|
||||
<tr>
|
||||
<td>Miner</td>
|
||||
<td><app-miner [coinbaseTransaction]="transactions && transactions[0]"></app-miner></td>
|
||||
<td><app-miner [coinbaseTransaction]="block.coinbaseTx || (transactions && transactions[0])"></app-miner></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
@@ -92,6 +92,7 @@ export interface Block {
|
||||
medianFee?: number;
|
||||
feeRange?: number[];
|
||||
reward?: number;
|
||||
coinbaseTx?: Transaction;
|
||||
}
|
||||
|
||||
export interface Address {
|
||||
|
||||
@@ -19,6 +19,7 @@ export class MinerComponent implements OnChanges {
|
||||
) { }
|
||||
|
||||
ngOnChanges() {
|
||||
this.miner = '';
|
||||
this.loading = true;
|
||||
this.findMinerFromCoinbase();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user