Commit 4a875cce authored by 贾浩@五瓣科技's avatar 贾浩@五瓣科技

debug

parent 7647f98b
......@@ -40,6 +40,10 @@ func (s *StateDB) GetMinerObject(miner common.Address) (object *validatorv1.Mine
if err != nil {
return nil
}
log.Debugf("GetMinerObject %s %s\n", miner.Hex(), common.Bytes2Hex(v))
if v == nil {
return object
}
err = proto.Unmarshal(v, object)
if err != nil {
return 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