Fix offline button wrongly opening tx preview

This commit is contained in:
natsoni 2025-06-23 13:46:46 +02:00
parent 8588495297
commit 536c58dc27
No known key found for this signature in database
GPG key ID: C65917583181743B

View file

@ -91,7 +91,7 @@ export class TransactionRawComponent implements OnInit, OnDestroy {
if (offline) {
this.offlineMode = offline === 'true';
}
if (this.pushTxForm.get('txRaw').value) {
if (hex && this.pushTxForm.get('txRaw').value) {
this.decodeTransaction();
}
}