Merge pull request #5194 from mempool/simon/fix-stripped-mempool-transactions

Fix mempool transactions being stripped
This commit is contained in:
softsimon authored and GitHub committed 2024-06-23 17:58:46 +09:00
commit 6936b97ba6
1 file changed
+1 -1
+1 -1
View File
@@ -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;