Fix graph data for incoming transaction graphs

This commit is contained in:
nymkappa committed 2021-12-11 10:38:13 +09:00
1 parent c9377dfed8
commit 6eb8569e18
2 files changed
+2 -2

No files matched your search

@@ -134,7 +134,7 @@ export class StatisticsComponent implements OnInit {
this.mempoolTransactionsWeightPerSecondData = {
labels: labels,
series: [mempoolStats.map((stats) => stats.vbytes_per_second)],
series: [mempoolStats.map((stats) => [stats.added * 1000, stats.vbytes_per_second])],
};
}
@@ -286,7 +286,7 @@ export class DashboardComponent implements OnInit {
return {
labels: labels,
series: [mempoolStats.map((stats) => stats.vbytes_per_second)],
series: [mempoolStats.map((stats) => [stats.added * 1000, stats.vbytes_per_second])],
};
}