Skip to content

Commit

Permalink
#25 TD in status message
Browse files Browse the repository at this point in the history
  • Loading branch information
tkstanczak committed Jan 15, 2019
1 parent 22ff13f commit 872df4f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public void Init()
StatusMessage statusMessage = new StatusMessage();
statusMessage.ChainId = (UInt256) SyncManager.ChainId;
statusMessage.ProtocolVersion = ProtocolVersion;
statusMessage.TotalDifficulty = head.Difficulty;
statusMessage.TotalDifficulty = head.TotalDifficulty ?? head.Difficulty;
statusMessage.BestHash = head.Hash;
statusMessage.GenesisHash = SyncManager.Genesis.Hash;

Expand Down

0 comments on commit 872df4f

Please sign in to comment.