mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-06-25 09:22:33 +00:00
tests/stellar: use bytes.fromhex instead of binascii.unhexlify
This commit is contained in:
parent
6c659715dc
commit
d09f4470d2
@ -47,7 +47,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
from base64 import b64encode
|
from base64 import b64encode
|
||||||
from binascii import unhexlify
|
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
@ -234,7 +233,7 @@ class TestMsgStellarSignTransaction(TrezorTest):
|
|||||||
|
|
||||||
op = proto.StellarSetOptionsOp()
|
op = proto.StellarSetOptionsOp()
|
||||||
op.signer_type = 0
|
op.signer_type = 0
|
||||||
op.signer_key = unhexlify(
|
op.signer_key = bytes.fromhex(
|
||||||
"72187adb879c414346d77c71af8cce7b6eaa57b528e999fd91feae6b6418628e"
|
"72187adb879c414346d77c71af8cce7b6eaa57b528e999fd91feae6b6418628e"
|
||||||
)
|
)
|
||||||
op.signer_weight = 2
|
op.signer_weight = 2
|
||||||
|
Loading…
Reference in New Issue
Block a user