Page MenuHomePhabricator

[electrum] fix NameError in keepkey.py
ClosedPublic

Authored by PiRK on Sep 12 2023, 06:42.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABCdf16c5090894: [electrum] fix NameError in keepkey.py
Summary

While trying to run pytest, I noticed this error. It is caused by Transaction being used in a typehint while not actually being imported. Enable postponed evaluation of annotations to fix this.

NameError: name 'Transaction' is not defined
Test Plan

python -m electrumabc_plugins.keepkey.keepkey

Diff Detail

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