Skip to content
Permalink
Browse files

Merge pull request #2170 from nopara73/nullcheck

Check for null.
  • Loading branch information...
nopara73 committed Aug 26, 2019
2 parents 9b8599f + 055a613 commit 5fee74d4c6fc0f5804fdbf62cf401d69dbf3c670
Showing with 2 additions and 2 deletions.
  1. +2 −2 WalletWasabi.Gui/Controls/WalletExplorer/CoinViewModel.cs
@@ -173,9 +173,9 @@ public string ToolTip

public string Clusters => string.IsNullOrEmpty(Model.Clusters) ? "" : Model.Clusters; //If the value is null the bind do not update the view. It shows the previous state for example: ##### even if PrivMode false.

public string PubKey => Model.HdPubKey.PubKey.ToString();
public string PubKey => Model.HdPubKey?.PubKey?.ToString() ?? "";

public string KeyPath => Model.HdPubKey.FullKeyPath.ToString();
public string KeyPath => Model.HdPubKey?.FullKeyPath?.ToString() ?? "";

public SmartCoinStatus Status
{

0 comments on commit 5fee74d

Please sign in to comment.
You can’t perform that action at this time.