public async Task Subscribe(string address) { try { await _observableWalletRepository.Insert(ObservableWallet.Create(address)); } catch (StorageException e) when(e.RequestInformation.HttpStatusCode == EntityExistsHttpStatusCode) { throw new WalletAlreadyExistException(); } }
public async Task Subscribe(string address) { await _observableWalletRepository.Insert(ObservableWallet.Create(address)); }
public async Task Subscribe(string address) { await _observableWalletRepository.Insert(ObservableWallet.Create(address)); await _blockChainProvider.ImportWatchOnlyAddress(address); }