1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 23:48:12 +00:00

tests/device: nem encrypted payload doesn't ask for confirmation

This commit is contained in:
Tomas Susanka 2018-03-21 14:22:22 +01:00
parent 333343224b
commit e435175d79

View File

@ -67,7 +67,7 @@ class TestMsgNEMSigntx(TrezorTest):
self.client.set_expected_responses([ self.client.set_expected_responses([
# Confirm transfer and network fee # Confirm transfer and network fee
proto.ButtonRequest(code=proto.ButtonRequestType.ConfirmOutput), proto.ButtonRequest(code=proto.ButtonRequestType.ConfirmOutput),
# Unencrypted message # Ask for encryption
proto.ButtonRequest(code=proto.ButtonRequestType.ConfirmOutput), proto.ButtonRequest(code=proto.ButtonRequestType.ConfirmOutput),
# Confirm recipient # Confirm recipient
proto.ButtonRequest(code=proto.ButtonRequestType.SignTx), proto.ButtonRequest(code=proto.ButtonRequestType.SignTx),