def scan_transaction(): screens.show_progress("Scan transaction to sign", "Scanning.. Click \"Cancel\" to stop.", callback=cancel_scan) gui.update(30) qr_scanner.start_scan(parse_transaction)
def scan_address(): screens.show_progress("Scan address to verify", "Scanning.. Click \"Cancel\" to stop.", callback=cancel_scan) gui.update(30) qr_scanner.start_scan(verify_address)
def add_new_wallet(): screens.show_progress("Scan wallet to add", "Scanning.. Click \"Cancel\" to stop.", callback=cancel_scan) gui.update(30) qr_scanner.start_scan(parse_new_wallet)