Commit 0edcd0bc authored by szh's avatar szh

up

parent a1b68868
......@@ -83,6 +83,7 @@ func SyncBlock() {
panic(err)
}
mutx.Lock()
logging.Info("openlist",len(open))
openlist = append(openlist,open...)
for _, vv:= range stat {
if _,ok := statMap[vv.Addr];!ok {
......@@ -314,12 +315,15 @@ func dealTx(tx *types.Transaction,receipt *types.ReceiptData,height,blocktime in
if err != nil {
return nil,nil,nil,err
}
open.Hash = common.ToHex(tx.Hash())
open.Miner = miner.GetGenesis().MinerAddress
open.ReturnAddr = miner.GetGenesis().ReturnAddress
rs1.Time = blocktime
rs1.Height = height
rss = append(rss,rs1)
}
}
logging.Info("open tx",*open)
return &rt,rss,open,nil
}
......
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