diff options
author | Mission Liao <mission.liao@dexon.org> | 2018-10-24 19:40:52 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-24 19:40:52 +0800 |
commit | 14b91441825d6b990527e947c021a5311e951c25 (patch) | |
tree | 130b7089fb17179402476c9f1b0ffea2edfd8aae /simulation | |
parent | 04bd5951c10f12a3f61efcc6e0d2105b39ae70ad (diff) | |
download | dexon-consensus-14b91441825d6b990527e947c021a5311e951c25.tar dexon-consensus-14b91441825d6b990527e947c021a5311e951c25.tar.gz dexon-consensus-14b91441825d6b990527e947c021a5311e951c25.tar.bz2 dexon-consensus-14b91441825d6b990527e947c021a5311e951c25.tar.lz dexon-consensus-14b91441825d6b990527e947c021a5311e951c25.tar.xz dexon-consensus-14b91441825d6b990527e947c021a5311e951c25.tar.zst dexon-consensus-14b91441825d6b990527e947c021a5311e951c25.zip |
core: fix stuffs (#250)
* fix discontinuous finalization height
* remove types.Block.Witness.Timestamp field
* add field: types.Block.Finalization.ParentHash
* fix log format of CRS
* switch round and chain in log of types.Position.
Diffstat (limited to 'simulation')
-rw-r--r-- | simulation/app.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/simulation/app.go b/simulation/app.go index 419bb0a..f074dec 100644 --- a/simulation/app.go +++ b/simulation/app.go @@ -147,8 +147,7 @@ func (a *simApp) BlockDelivered( a.latestWitnessReady.L.Lock() defer a.latestWitnessReady.L.Unlock() a.latestWitness = types.Witness{ - Timestamp: result.Timestamp, - Height: result.Height, + Height: result.Height, } a.latestWitnessReady.Broadcast() }() |