mirror of
https://github.com/monero-project/monero.git
synced 2026-07-28 14:47:15 -07:00
Merge pull request #10859
e28aec5 device: abort Ledger tx prefix hashing on denial (Samy)
ACKs: jeffro256, jpk68
This commit is contained in:
@@ -1530,7 +1530,7 @@ namespace hw {
|
|||||||
|
|
||||||
this->buffer_send[4] = offset-5;
|
this->buffer_send[4] = offset-5;
|
||||||
this->length_send = offset;
|
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
|
//hash remains
|
||||||
int cnt = 0;
|
int cnt = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user