Commit dc3ab81f authored by jixing wei's avatar jixing wei Committed by 33cn

fix a copy mistake

parent dea69d3d
...@@ -691,7 +691,7 @@ func (action *Action) checkDraw(lott *LotteryDB) (*types.Receipt, *pty.LotteryUp ...@@ -691,7 +691,7 @@ func (action *Action) checkDraw(lott *LotteryDB) (*types.Receipt, *pty.LotteryUp
action.recordMissing(lott) action.recordMissing(lott)
if types.IsPara() { if types.IsPara() {
lott.LastTransToDrawStateOnMain = action.lottery.GetHeight() lott.LastTransToDrawStateOnMain = action.lottery.GetMainHeight()
} }
return &types.Receipt{Ty: types.ExecOk, KV: kv, Logs: logs}, &updateInfo, &gainInfos, nil return &types.Receipt{Ty: types.ExecOk, KV: kv, Logs: logs}, &updateInfo, &gainInfos, 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