aboutsummaryrefslogtreecommitdiffstats
path: root/simulation/app.go
diff options
context:
space:
mode:
Diffstat (limited to 'simulation/app.go')
-rw-r--r--simulation/app.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/simulation/app.go b/simulation/app.go
index 4bf4aff..5a31273 100644
--- a/simulation/app.go
+++ b/simulation/app.go
@@ -124,7 +124,7 @@ func (a *simApp) TotalOrderingDeliver(blockHashes common.Hashes, early bool) {
for _, block := range blocks {
if block.ProposerID == a.ValidatorID {
confirmLatency = append(confirmLatency,
- now.Sub(block.Timestamps[a.ValidatorID]))
+ now.Sub(block.Timestamp))
}
for hash := range block.Acks {
for _, blockHash := range a.getAckedBlocks(hash) {