diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2019-03-28 10:56:33 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-28 10:56:33 +0800 |
commit | c0995cb576b840432114011791b39aa904602570 (patch) | |
tree | 14f8caa3d77c6be71d36d156b1b8a1f9783cc3eb /core/consensus.go | |
parent | 5f5d8a58dd853f32340469681f7454b838fc4786 (diff) | |
download | dexon-consensus-c0995cb576b840432114011791b39aa904602570.tar dexon-consensus-c0995cb576b840432114011791b39aa904602570.tar.gz dexon-consensus-c0995cb576b840432114011791b39aa904602570.tar.bz2 dexon-consensus-c0995cb576b840432114011791b39aa904602570.tar.lz dexon-consensus-c0995cb576b840432114011791b39aa904602570.tar.xz dexon-consensus-c0995cb576b840432114011791b39aa904602570.tar.zst dexon-consensus-c0995cb576b840432114011791b39aa904602570.zip |
core: add log for restarting BA (#524)
* core: add log for restart BA
* Add log for changing round
Diffstat (limited to 'core/consensus.go')
-rw-r--r-- | core/consensus.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/consensus.go b/core/consensus.go index a02f8c1..19ba74c 100644 --- a/core/consensus.go +++ b/core/consensus.go @@ -391,6 +391,7 @@ CleanChannelLoop: } newPos := block.Position if block.Position.Height+1 == recv.changeNotaryHeight() { + recv.consensus.logger.Info("Round will change", "block", block) newPos.Round++ recv.updateRound(newPos.Round) } |