mirror of
https://github.com/mempool/mempool.git
synced 2025-04-09 20:39:18 +02:00
Merge pull request #5194 from mempool/simon/fix-stripped-mempool-transactions
Fix mempool transactions being stripped
This commit is contained in:
commit
6936b97ba6
@ -155,7 +155,7 @@ class RedisCache {
|
||||
const toAdd = this.cacheQueue.slice(0, this.txFlushLimit);
|
||||
try {
|
||||
const msetData = toAdd.map(tx => {
|
||||
const minified: any = { ...tx };
|
||||
const minified: any = structuredClone(tx);
|
||||
delete minified.hex;
|
||||
for (const vin of minified.vin) {
|
||||
delete vin.inner_redeemscript_asm;
|
||||
|
Loading…
x
Reference in New Issue
Block a user