Trim input data in tx preview

This commit is contained in:
natsoni 2025-03-12 16:47:31 +01:00
parent a152afb4af
commit 062c5ca03a
No known key found for this signature in database
GPG Key ID: C65917583181743B

View File

@ -82,7 +82,7 @@ export class TransactionRawComponent implements OnInit, OnDestroy {
this.resetState();
this.isLoading = true;
try {
const { tx, hex } = decodeRawTransaction(this.pushTxForm.get('txRaw').value, this.stateService.network);
const { tx, hex } = decodeRawTransaction(this.pushTxForm.get('txRaw').value.trim(), this.stateService.network);
await this.fetchPrevouts(tx);
await this.fetchCpfpInfo(tx);
this.processTransaction(tx, hex);