Remove script from txInputs

This commit is contained in:
Luke Childs 2020-04-27 10:23:53 +07:00
parent 2d4a3b9354
commit fde6025480
2 changed files with 0 additions and 2 deletions

View file

@ -113,7 +113,6 @@ class Psbt {
return this.__CACHE.__TX.ins.map(input => ({ return this.__CACHE.__TX.ins.map(input => ({
hash: bufferutils_1.cloneBuffer(input.hash), hash: bufferutils_1.cloneBuffer(input.hash),
index: input.index, index: input.index,
script: bufferutils_1.cloneBuffer(input.script),
sequence: input.sequence, sequence: input.sequence,
})); }));
} }

View file

@ -150,7 +150,6 @@ export class Psbt {
return this.__CACHE.__TX.ins.map(input => ({ return this.__CACHE.__TX.ins.map(input => ({
hash: cloneBuffer(input.hash), hash: cloneBuffer(input.hash),
index: input.index, index: input.index,
script: cloneBuffer(input.script),
sequence: input.sequence, sequence: input.sequence,
})); }));
} }