NRE on canceled token accounts during setup.
This commit is contained in:
@@ -163,6 +163,9 @@ namespace Wino.Mail.ViewModels
|
|||||||
if (creationDialog.State == AccountCreationDialogState.Canceled)
|
if (creationDialog.State == AccountCreationDialogState.Canceled)
|
||||||
throw new AccountSetupCanceledException();
|
throw new AccountSetupCanceledException();
|
||||||
|
|
||||||
|
if (!tokenInformationResponse.IsSuccess)
|
||||||
|
throw new Exception(tokenInformationResponse.Message);
|
||||||
|
|
||||||
createdAccount.Address = tokenInformationResponse.Data.AccountAddress;
|
createdAccount.Address = tokenInformationResponse.Data.AccountAddress;
|
||||||
|
|
||||||
tokenInformationResponse.ThrowIfFailed();
|
tokenInformationResponse.ThrowIfFailed();
|
||||||
|
|||||||
Reference in New Issue
Block a user