Page MenuHomePhabricator

[electrum][trezor] Fix homescreen reset
ClosedPublic

Authored by Fabien on Thu, Jan 23, 13:02.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABCbca06065030d: [electrum][trezor] Fix homescreen reset
Summary

The reset sends a null byte as an image, which is invalid.
Trezor has a feature to restore the default homescreen which is sending a empty bytestream, so let's use it.

Test Plan

Reset the screen on all Trezor devices.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Fabien requested review of this revision.Thu, Jan 23, 13:02
PiRK added a subscriber: PiRK.

probably broken in some major trezor API change (looks like they passed images as strings before, or maybe it was a python2 thing) https://github.com/spesmilo/electrum/commit/dda9d4b746700bfc095c80d84f1ac5de46c5f2ca

This revision is now accepted and ready to land.Thu, Jan 23, 13:54
This revision was automatically updated to reflect the committed changes.