Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions test/test_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,10 @@ def test_big_tx(self):
self.fail('Big tx did not cause CLI to error')
if self.emulator.type == 'coldcard':
self.assertEqual(result['code'], -7)
elif self.emulator.type in ('trezor_1', 'trezor_t'):
# Trezor rejects to sign as inputs do not correspond to the wallet's private keys
self.assertEqual(result['code'], -13)
self.assertIn('Input does not match scriptPubKey', result['error'])
else:
self.assertNotIn('code', result)
self.assertNotIn('error', result)
Expand Down