Skip to content

Commit

Permalink
Update Libplanet/Net/Swarm.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Hong Minhee (洪 民憙) <hong.minhee@gmail.com>
  • Loading branch information
longfin and dahlia committed Aug 25, 2020
1 parent a0bf5dd commit fd67334
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Libplanet/Net/Swarm.cs
Expand Up @@ -182,7 +182,8 @@ static Swarm()
public Peer AsPeer => Transport.AsPeer;

/// <summary>
/// The time the message was last received.
/// The last time when any message was arrived.
/// It can be <c>null</c> if no message has been arrived yet.
/// </summary>
public DateTimeOffset? LastMessageTimestamp =>
Running ? Transport.LastMessageTimestamp : (DateTimeOffset?)null;
Expand Down

0 comments on commit fd67334

Please sign in to comment.