Merge pull request #10859

e28aec5 device: abort Ledger tx prefix hashing on denial (Samy)

ACKs: jeffro256, jpk68
This commit is contained in:
tobtoht
2026-07-16 17:25:46 +00:00
+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;