From 30198b4105f84494d7eaf63fdce59c81dc67fe23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Sat, 12 Oct 2019 16:05:41 +0200 Subject: [PATCH] townhall: show tipset propagation --- cmd/lotus-townhall/townhall/src/App.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd/lotus-townhall/townhall/src/App.js b/cmd/lotus-townhall/townhall/src/App.js index 5b5ca5bca..058e9e32b 100644 --- a/cmd/lotus-townhall/townhall/src/App.js +++ b/cmd/lotus-townhall/townhall/src/App.js @@ -25,7 +25,9 @@ class App extends React.Component { console.log(best) return {Object.keys(this.state).map(k => [k, this.state[k]]).map(([k, v]) => { - let l = [, , ] + + let mnrs = v.Blocks.map(b =>  m:{b.Miner}) + let l = [, , , ] if (best !== v.Height) { l = {l} } else {
{k}{v.NodeName}{v.Height}{k}{v.NodeName}{v.Height}{mnrs}