mirror of
https://github.com/mempool/mempool.git
synced 2025-09-22 23:52:49 +02:00
Trim input data in tx preview
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user