Commit 4eac6742 authored by Michel Schudel's avatar Michel Schudel

more refactoring and manual

parent dcae0d35
<div class="container">
<p class="lead">Node interface</p>
<nav class="mt-5">
<div class="header">
<img src="../assets/images/coin-logo.png" alt="logo" />
<p class="lead">Node interface</p>
<nav class="mt-5">
<ul class="nav nav-tabs">
<li class="nav-item">
<a class="nav-link" [routerLink]="['transactions']" routerLinkActive="active">Pending transactions</a>
nav {
margin-bottom: 2rem;
.header img {
float: left;
width: 100px;
height: 100px;
.header h1 {
position: relative;
top: 18px;
left: 10px;
......@@ -29,10 +29,6 @@ export class BlockchainService {
return<Block>('/api/mine', {})
.do(block => this.messageService.log(`Successfully mined block ${block.index} with ${block.transactions.length} transaction(s)`))
.catch(() => {
this.messageService.log(`ERROR while mining!`);
return Observable.empty();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment