add vBytes/s label on info bar

This commit is contained in:
Gustavo Chain 2020-02-17 09:30:30 +01:00
parent 26a89e1368
commit 36b4c8bfd3
No known key found for this signature in database
GPG Key ID: DA7C1746DC118A46

View File

@ -265,7 +265,7 @@ func (ui *UI) info(g *gocui.Gui, x, y int) error {
fmt.Fprintf(v, "%s %s, %s %s, %s %s",
red("Unconfirmed Txs: "), white("%d", info.Size),
blue("Mempool size"), white("%s (%d block/s)", fmtSize(mSize), ceil(w/4_000_000)),
blue("Tx weight per second"), red("%d", ui.state.vBytesPerSecond),
blue("Tx weight per second"), red("%d vBytes/s", ui.state.vBytesPerSecond),
)
return nil
}