device: abort Ledger tx prefix hashing on denial

This commit is contained in:
Samy
2026-07-05 16:03:09 +02:00
parent a523e9da2c
commit e28aec53b0
+1 -1
View File
@@ -1530,7 +1530,7 @@ namespace hw {
this->buffer_send[4] = offset-5;
this->length_send = offset;
this->exchange_wait_on_input();
CHECK_AND_ASSERT_THROW_MES(this->exchange_wait_on_input() == 0, "Transaction denied on device.");
//hash remains
int cnt = 0;