Commit eddc392b authored by szh's avatar szh

update statmap

parent 06978eb3
...@@ -89,7 +89,7 @@ func SyncBlock() { ...@@ -89,7 +89,7 @@ func SyncBlock() {
statMap[v.Addr] = &models.RaspMinerStat{ statMap[v.Addr] = &models.RaspMinerStat{
Addr:v.Addr, Addr:v.Addr,
MiningTicketCount:v.MiningTicketCount+temp.MiningTicketCount, MiningTicketCount:v.MiningTicketCount+temp.MiningTicketCount,
MinedTicketCount:v.MinedTicketCount+temp.MiningTicketCount, MinedTicketCount:v.MinedTicketCount+temp.MinedTicketCount,
MinedAmount:v.MinedAmount+temp.MinedAmount, MinedAmount:v.MinedAmount+temp.MinedAmount,
Height:v.Height, Height:v.Height,
Time:v.Time, Time:v.Time,
......
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