Skip to content

Commit

Permalink
DEV: do not throw exception when asset type is not found
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaohuta committed Jul 5, 2019
1 parent f1e9080 commit 95c8a1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin_trinity/FormMain.cs
Expand Up @@ -264,7 +264,7 @@ private void getChannelList()
channelItem.SubItems.Add(founderBalane);
channelItem.SubItems.Add(peerBalane);
channelItem.SubItems.Add(item.peer);
channelItem.SubItems.Add(item.asset.ToAssetType(Trinity.startTrinity.GetAssetMap()));
channelItem.SubItems.Add(item.asset.ToAssetType(Trinity.startTrinity.GetAssetMap(), false));
channelItem.SubItems.Add(item.state.ToString());
this.ChannelListListView.Items.Add(channelItem);
}
Expand All @@ -279,7 +279,7 @@ private void getChannelList()
channelItem.SubItems.Add(founderBalane);
channelItem.SubItems.Add(peerBalane);
channelItem.SubItems.Add(item.peer);
channelItem.SubItems.Add(item.asset.ToAssetType(Trinity.startTrinity.GetAssetMap()));
channelItem.SubItems.Add(item.asset.ToAssetType(Trinity.startTrinity.GetAssetMap(), false));
channelItem.SubItems.Add(item.state.ToString());
this.ChannelListListView.Items.Add(channelItem);
}
Expand Down

0 comments on commit 95c8a1a

Please sign in to comment.