diff --git a/lotuspond/front/src/FullNode.js b/lotuspond/front/src/FullNode.js index 8a809b113..4a8749518 100644 --- a/lotuspond/front/src/FullNode.js +++ b/lotuspond/front/src/FullNode.js @@ -71,7 +71,7 @@ class FullNode extends React.Component { // TODO: Use actual miner address // see cli/miner.go this.setState({mining: true}) - await this.state.client.call("Filecoin.MinerStart", ["[0 - bf9dcbf901]"]) + await this.state.client.call("Filecoin.MinerStart", ["t0523423423"]) } render() { @@ -84,12 +84,17 @@ class FullNode extends React.Component { ) } + let mine = Mine + if (this.state.mining) { + mine = "Mining" + } + runtime = (
v{this.state.version.Version}, {this.state.id.substr(-8)}, {this.state.peers} peers
Repo: LOTUS_PATH={this.props.node.Repo}
{chainInfo} - + {mine}
)