You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let back_to_safety = NbglChoice::new().glyph(&WARNING).show(
346
+
"Security risk detected",
347
+
"It may not be safe to sign this transaction. To continue, you'll need to review the risk.",
348
+
"Back to safety",
349
+
"Review risk",
350
+
);
351
+
352
+
if !back_to_safety {
353
+
NbglChoice::new()
354
+
.show(
355
+
"The transaction cannot be trusted",
356
+
"Your Ledger cannot decode this transaction. If you sign it, you could be authorizing malicious actions that can drain your wallet.\n\nLearn more: ledger.com/e8",
357
+
"I accept the risk",
358
+
"Reject transaction"
359
+
)
360
+
}else{
361
+
false
362
+
}
363
+
}
364
+
335
365
/// A wrapper around the synchronous NBGL ux_sync_review C API binding.
0 commit comments