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);
|
const toAdd = this.cacheQueue.slice(0, this.txFlushLimit);
|
||||||
try {
|
try {
|
||||||
const msetData = toAdd.map(tx => {
|
const msetData = toAdd.map(tx => {
|
||||||
const minified: any = { ...tx };
|
const minified: any = structuredClone(tx);
|
||||||
delete minified.hex;
|
delete minified.hex;
|
||||||
for (const vin of minified.vin) {
|
for (const vin of minified.vin) {
|
||||||
delete vin.inner_redeemscript_asm;
|
delete vin.inner_redeemscript_asm;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user