BlockchainCommons / GordianWallet-iOS

iOS wallet linked by Torgap to your own full-node server
Other
47 stars 14 forks source link

"manual coin control" crash when not connected to a node. #89

Open FeedMyTummy opened 3 years ago

FeedMyTummy commented 3 years ago

Crash for edge case scenario in GordianWallet. I know it is an edge case. The app crash happens if the wallet is not connected to a node. When "manual coin control" is tapped in the VC on the fourth tab, the variable wallet in UTXOViewController.swift line 49 is nil and causes a crash. I'm thinking do a check once the user taps on "manual coin control". If requirements are not met, show the drawer "Scan a QuickConnect QR Code" that shows up in the initial page.