Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

Commit

Permalink
Fix receive view model
Browse files Browse the repository at this point in the history
  • Loading branch information
matsakiv committed Aug 13, 2021
1 parent f4f6ddb commit 41ab002
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Atomex.Client.Wpf/ViewModels/ReceiveViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public CurrencyConfig Currency
// main address
var address = g.FirstOrDefault(w => w.Currency == _currency.Name);

var isFreeAddress = address.Address == freeAddress.Address;
var isFreeAddress = address?.Address == freeAddress.Address;

var hasTokens = g.Any(w => w.Currency != _currency.Name);

Expand Down

0 comments on commit 41ab002

Please sign in to comment.