Skip to content

Commit

Permalink
Crash: Signing on watch address via browser trustwallet#885
Browse files Browse the repository at this point in the history
  • Loading branch information
vikmeup committed Aug 5, 2018
1 parent dabd91b commit f8f29f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Trust/Browser/Coordinators/BrowserCoordinator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ extension BrowserCoordinator: BrowserViewControllerDelegate {
}

func didCall(action: DappAction, callbackID: Int) {
guard let account = session.account.currentAccount else {
guard let account = session.account.currentAccount, let _ = account.wallet else {
self.rootViewController.browserViewController.notifyFinish(callbackID: callbackID, value: .failure(DAppError.cancelled))
self.navigationController.topViewController?.displayError(error: InCoordinatorError.onlyWatchAccount)
return
Expand Down

0 comments on commit f8f29f7

Please sign in to comment.