diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2019-01-03 00:19:47 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-03 00:19:47 +0800 |
commit | 5739e74781092ac09d8b3a575cddc71b50beedf4 (patch) | |
tree | e2e0d673f9bfb8fc0e06a37fea7a534cab64449f | |
parent | 3c3e5d0b11758e2385b3890013be3e3698b992a8 (diff) | |
download | dexon-consensus-5739e74781092ac09d8b3a575cddc71b50beedf4.tar.gz dexon-consensus-5739e74781092ac09d8b3a575cddc71b50beedf4.tar.zst dexon-consensus-5739e74781092ac09d8b3a575cddc71b50beedf4.zip |
core: Refine message of lattice (#391)
-rw-r--r-- | core/lattice.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/lattice.go b/core/lattice.go index 591c63d..2b1555d 100644 --- a/core/lattice.go +++ b/core/lattice.go @@ -207,7 +207,8 @@ func (l *Lattice) addBlockToLattice( if _, ok := err.(*ErrAckingBlockNotExists); ok { l.logger.Debug("Pending block for lattice", "pending", tip, - "last", l.data.chains[tip.Position.ChainID]) + "err", err, + "last", l.data.chains[tip.Position.ChainID].tip) err = nil continue } else { |