Commit f2f099ce authored by szh's avatar szh

height to localheight

parent d0b06b4e
...@@ -232,7 +232,7 @@ func convertDevList(params map[string]string) models.RaspDevList { ...@@ -232,7 +232,7 @@ func convertDevList(params map[string]string) models.RaspDevList {
rasp.UpdateTime = time.Now().Unix() rasp.UpdateTime = time.Now().Unix()
if pai.Err == "" { if pai.Err == "" {
rasp.NodeStatus = 1 rasp.NodeStatus = 1
rasp.Height = pai.LastHeight rasp.Height = pai.LocalLastHeight
if !pai.WalletStatus.IsTicketLock { if !pai.WalletStatus.IsTicketLock {
rasp.WalletStatus = 2 rasp.WalletStatus = 2
} else if !pai.WalletStatus.IsWalletLock && pai.WalletStatus.IsTicketLock { } else if !pai.WalletStatus.IsWalletLock && pai.WalletStatus.IsTicketLock {
......
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